[Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

Martin Schreiber mse00000 at gmail.com
Wed Dec 18 18:24:35 CET 2013


On Wednesday 18 December 2013 09:05:26 Michael Van Canneyt wrote:
> >
> > I would like to understand: Why Java, .Net and others use UTF-16 as
> > default encode and why Lazarus team chose UTF-8?
>
> The impact of switching to UTF-8 is less when you care about backwards
> compatibility.
>
I do not quite agree. Moving from single byte encoding to utf-8 breaks many 
non-English applications which use character index.
MSElang supports string8 (utf-8), string16 (utf-16) string32 (UCS4) and 
bytestring (any 8 bit encoding and/or binary data).

Martin




More information about the Lazarus mailing list