[fpc-devel] Unicode support (yet again)

Flávio Etrusco flavio.etrusco at gmail.com
Wed Sep 14 11:39:07 CEST 2011


On Wed, Sep 14, 2011 at 6:04 AM, Felipe Monteiro de Carvalho
<felipemonteiro.carvalho at gmail.com> wrote:
> On Wed, Sep 14, 2011 at 10:46 AM,  <michael.vancanneyt at wisa.be> wrote:
>>> Can you clarify a bit. When you say "unicode string" to you mean UTF-16
>>> (Delphi's definition of a unicode string), or do you mean a Unicode
>>> string in the true sense - it can be utf-8 or utf-16 etc depending on
>>> the platform's native encoding.
>>
>> This has not yet been decided.
>
> IMHO a platform-dependent string would be the worse solution of all
> ... far worse then migrating to UTF-16.
>
> It adds tiny bit of speed while it puts a large development complexity
> burdain ... I imagine how one would explain that kind of thing to
> newbies ...
>

Why would the internal enconding of a RTLString/UnicodeString have to
affect any effect how you program if the RTL/API is done right?

-Flávio



More information about the fpc-devel mailing list