[Lazarus] Mac (or other BigEndian machine) users needed to test new Utf8StringOfChar code

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Wed Sep 18 10:16:38 CEST 2013


José Mejuto wrote:

> I had not fully checked you code, but I think you are coding always the 
> UTF16 as little endian, and in big endian machines the UTF16 should be 
> big endian also.
> 
> I do not have a big endian machine in order to perform some tests.

I generally have 32-bit big-endian systems available, but not 
necessarily with the most recent Lazarus and/or FPC so if in doubt it's 
safer to code a completely standalone example (i.e. as Bart did).

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list