best/fastest way to tell if a field contains unicode text?

Peter W A Wood peterwawood at gmail.com
Thu Mar 20 19:15:30 EDT 2014


Ben

On 21 Mar 2014, at 02:40, Ben Rubinstein wrote:

> That probably means in fact that all the characters are in ISO-8859-1 (I think that the one-byte characters in UTF8 approximately correspond to ISO-8859-1, but I'm prepared to be corrected).

UTF-8 only has 128 one-byte characters (0 - 127) whereas ISO-8859-1 has 256 (0 - 255). The characters in the range 128 - 255 require two bytes in UTF-8.

Regards

Peter


More information about the use-livecode mailing list