[fpc-devel] Unicode and UTF8String

Florian Klaempfl florian at freepascal.org
Tue Dec 2 10:45:39 CET 2008

Michael Schnell schrieb:
>>> Ignoring that ANSI Characters > $7F are locale depending makes a program
>>> work perfectly in a single country and mostly decently in many others.
>> So it works in far east with its multi byte ansi encodings?
> These of course are not part of the "many others". (BTW handling Russian
> with ANSI is not easy at all, we already have been there :)  ).
> But those that do software for "far east" are not likely to ignore
> multi-byte characters in utf8 coded strings (as the OP suggested).
> -Michael

The point is: if everybody takes care of the fact that ansistrings can
be multibyte, having utf-8 in ansistrings (if it's the locale encoding),
is no big deal at all.

More information about the fpc-devel mailing list