string.ansiToUtf16

Syntax string.ansiToUtf16 (s)

Params s, a string.

Action Converts text from ANSI to UTF-16.

Returns The converted text.

Examples string.ansiToUtf16 ("Test")

   » "\x00T\x00e\x00s\x00t\x00"

string.ansiToUtf16 ("Voulez-vous du thé?")

   » "\x00V\x00o\x00u\x00l\x00e\x00z\x00-\x00v\x00o\x00u\x00s\x00 \x00d\x00u\x00 \x00t\x00h\x01}\x00"

Notes This verb is new in Frontier 7 and Radio 7.0.1.

See Also string.ansiToUtf8

string.utf8ToAnsi

string.utf16ToAnsi

Discuss