On 01/09/2012 11:09 AM, Marco van de Voort wrote:
Whatever the name is, in all current Unicode Delphi versions and FPC ansistring means 8-bit string exclusively.

OK so the definition of

"AnsiString(CP_UTF16)" in FPC and
"AnsiString(1200)" in Delphi means

"an 8 bit string with data Bytes representing UTF-16 codes in low-byte-First 
notation".

This of course is not very straightforward, sane or portable but not illegal 
and not ambiguous either.

(Of course this definition should be explicitly given somewhere)

-Michael
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to