This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
Wolfram Research, Inc.



FilledSmallSquareint MLGetUnicodeString(MLINK link, unsigned short **s, long *n) gets a character string from the MathLink connection specified by link, storing the string in s as a sequence of 16-bit Unicode characters.

FilledSmallSquareMLGetUnicodeString() allocates memory for the character string. You must call MLDisownUnicodeString() to disown this memory.

FilledSmallSquare External programs should not modify strings generated by MLGetUnicodeString().

FilledSmallSquareMLGetUnicodeString() stores all characters directly in 16-bit Unicode form.

FilledSmallSquare 8-bit ASCII characters are stored with a null high-order byte.

FilledSmallSquare See The Mathematica Book: Section 2.12.5.

FilledSmallSquare See also: MLGetString, MLGetByteString.