Character Encodings and Livecode fields

Fraser Gordon fraser.gordon at runrev.com
Sun Jan 26 13:02:12 EST 2014


On 26/01/2014 17:31, Richmond wrote:
> I'm not sure that ALL Unicode chars are double-byte ones; possibly the
> first 255 are not.
It depends on the encoding. In UTF-16 encoding, all characters are
either 2 bytes or 4 bytes. In UTF-8, they can be 1 (for the first 128
characters), 2, 3 or 4 bytes long (depending on the character). LiveCode
6.x uses UTF-16 and should consequently have 2 byte unicode characters.

Regards,
Fraser




More information about the use-livecode mailing list