[fpc-devel] Unicode and UTF8String
florian at freepascal.org
Tue Dec 2 13:03:52 CET 2008
Michael Schnell schrieb:
> Felipe Monteiro de Carvalho wrote:
>> Ignore the name "ansi". Take it as a string type with the system
>> encoding. I think it will solve the confusion.
> Of course if you ignore "ANSI" and just use the type named "String"
> there is no confusion as it's clear that the coding is not predefined.
> That is exactly what I wanted to say: If you don't use it for ANSI coded
> information don't name the type "ANSIString". As FPC provides the type
> "ANSIString" out of the box it should be used appropriately and this any
> new user will suppose
Really? Pascal is a strongly typed language which avoids automatic
conversion between types as much as possible.
> that there is support for conversion between this
> type and other string types that explicitly are called differently
> according to their suggested internal coding (such as UTF8String.
More information about the fpc-devel