Michael Schnell schrieb:
On 01/09/2012 10:32 AM, Marco van de Voort wrote:
An ansistring is always 8-bit.
Sorry I can't follow here.

Of course the term "ANSI" suggests 8 bit, but it also suggest one visible character = 8 bit, thus non UTF.

ANSI also covers MBCS (DBCS).

If a type called "ANSI..." is used to hold UTF codes, the term ANSI is abused anyway and now the handling of the type can be defined in any way that seems appropriate,

For legacy reasons "Ansi" means types with 8 bit AnsiChar(!), in contrast to WideChar or other Char sizes.

DoDi

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

Reply via email to