[fpc-devel] Trying to understand the wiki-Page "FPC Unicode support"

Sven Barth pascaldragon at googlemail.com
Wed Nov 26 17:21:53 CET 2014


Am 26.11.2014 15:30 schrieb "Mattias Gaertner" <nc-gaertnma at netcologne.de>:
>
> On Wed, 26 Nov 2014 15:05:16 +0100
> Sven Barth <pascaldragon at googlemail.com> wrote:
>
> >[...]
> > While both AnsiString and UnicodeString have the current codepage and
the
> > character size in their header record
>
> AFAIK UnicodeString has only a static (fixed) code page.

Yes, nevertheless the header record is the same for UnicodeString and
AnsiString and thus it also has a codepage field which is always
initialized to CP_UTF16 however.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20141126/999ae228/attachment.html>


More information about the fpc-devel mailing list