Unicode, the clipboard and LC fields

Peter W A Wood peterwawood at gmail.com
Fri Jan 24 05:57:40 EST 2014


On 23 Jan 2014, at 01:23, Richard Gaskin wrote:

> Why UTF-16 rather than UTF-8?
> 
> The latter would seem more compact, and appears to be the default for nearly every other dev tool (and text processors and so much more).

Whilst development tools may use UTF-8 for source code encoding, many use a different encoding for string data. Take Python for instance, the default source code encoding is UTF-8 but strings are either ISO8859-1, UCS-2 or UCS-4 encoding depending on their content. Source and strings in Delphi are both UTF-16 as they are in OS X Cocoa.

Regards

Peter



More information about the use-livecode mailing list