MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: escape-sequences in strings

  • To: mathgroup at
  • Subject: [mg15930] Re: escape-sequences in strings
  • From: Jens-Peer Kuska <kuska at>
  • Date: Wed, 17 Feb 1999 23:34:00 -0500
  • Organization: Universitaet Leipzig
  • References: <7a2atd$>
  • Sender: owner-wri-mathgroup at

Hello Timo,

a) the MathLink Reference manual is a part of the Mathematica Book
   page 630 and in the refernce section page 1256. There is also a
   PostScript version of the 2.x MathLink kit on MathSource

b) Mathematica works with Unicode. C-Strings are usual char[]'s and
   only 8 bit than 16 bit for unicode.  Your frontend must deal with the
   unicode and. Look to the PutByteString() and
   PutUnicodeString() in the reference section. The behaviour in the
   Mathematica book describe the escape sequences inside of Mathematica.
   What You see in the frontend is quite different from what you have
   inside a C-function, \[Beta] is *one* unicode character and inside
   frontend a nice greek letter. The character \ is the most special of
   and I would like to see what MLNextCharacter() returns.

Hope that helps

Timo Felbinger wrote:
> Hello,
> I am currently working on a front end (in C) for Mathematica, which
> passes user-defined input via mathlink to the Mathematica kernel for
> evaluation.


> BTW, where can I find the "MathLink Reference Manual" which is cited in
> Todd Gayley's mathlink tutorial? The "DeveloperGuide.nb" on my
> Mathematica CD isn't really helpful.
> Timo
> --
> Timo Felbinger   <Timo.Felbinger at> Quantum
> Physics Group
> Institute of Physics
> University of Potsdam, Germany

  • Prev by Date: Re: List manipulation question
  • Next by Date: Finite Differences and Mathematica?
  • Previous by thread: escape-sequences in strings
  • Next by thread: Re: escape-sequences in strings