[fpc-pascal] Widestring endianness

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Apr 21 16:25:28 CEST 2009


On 21 Apr 2009, at 16:17, Felipe Monteiro de Carvalho wrote:

> I suppose that widestring is encoded with UTF-16 LE (little endian),
> regardless of the platform endianness. Is that correct? I mean,
> standard operations like assignment of string, copy from ansistring,
> etc, will result in UTF-16-LE

No, it's native endianess. When streaming, it's converted to/from  
little endian though.


Jonas



More information about the fpc-pascal mailing list