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

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Nov 26 17:50:31 CET 2014


On Wed, 26 Nov 2014 17:23:48 +0100
Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:

> On 26/11/14 17:21, Sven Barth wrote:
> > 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.
> 
> It can also be CP_UTF16BE (which it is on big endian FPC targets right now).

I see. 

Can you create a CP_UTF16BE on little Endian systems?

type u = UnicodeString(CP_UTF16BE); gives an error.


Mattias



More information about the fpc-devel mailing list