Forums > Dev

Extended ASCII

Aug 27 2010 | 1:34 pm

Is there a way to print in a UI object, with jtextlayout_set, the extended ascii characters (characters from 128 to 255)?
I’ve tried to pass unsigned chars > 128, but I couldn’t manage to make it work (it always prints the relative mod 128 character…)


Aug 27 2010 | 7:25 pm

Extended characters in Max API functions should be in UTF-8 format, which uses multiple bytes for extended characters:

If you already have characters in one of the various 8-bit extensions to ASCII such as MacRoman, MS-ANSI, or Latin-1 (ISO-8859-1). You can convert them to UTF-8 with the charset_convert function:

Note that none of these 8 bit extensions to ASCII are actually ASCII, which is a 7-bit standard.

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Dev