[fpc-devel] Unicode and UTF8String
Luiz Americo Pereira Camara
pascalive at bol.com.br
Mon Dec 1 16:28:33 CET 2008
Marco van de Voort escreveu:
> In our previous episode, Martin Friebe said:
>>> most cases, it is slowly time to abandon too simplistic thinking about
>>> strings. The best solution is to minimize editing, and localize them in
>>> certain parts of the code, keeping most of the code encoding agnostic.
>> True, too. But we are talking Pascal, not some other language.
>> string[index], copy, pos, length have always been part of Pascal.
> So keep using ansistring? It doesn't change.
Not true if fpc will follow Delphi. The new AnsiString type will be also
automatically converted in Delphi 2009. See the Marco Cantu doc about
Unicode (linked some threads ago).
More information about the fpc-devel