[fpc-devel] simple UTF tests
DrDiettrich1 at aol.com
Mon Jan 9 11:06:08 CET 2012
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.
More information about the fpc-devel