string.ansiToUtf8

Syntax string.ansiToUtf8 (s)

Params s, a string.

Action Converts text from ANSI to UTF-8.

Returns The converted text.

Examples string.ansiToUtf8 ("Test") //low-ASCII characters don't change

   » "Test"

string.ansiToUtf8 ("Voulez-vous du thé?") //the é is converted

   » "Voulez-vous du th‰‡?"

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

See Also string.ansiToUtf16

string.utf8ToAnsi

string.utf16ToAnsi

Discuss