On Wed, 26 Nov 2014 17:50:31 +0100 Mattias Gaertner <nc-gaert...@netcologne.de> wrote:
> On Wed, 26 Nov 2014 17:23:48 +0100 > Jonas Maebe <jonas.ma...@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. Jonas has answered this. Thanks. Mattias _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel