[fpc-devel] Unicode resource strings

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Aug 21 11:22:04 CEST 2012


On Tue, 21 Aug 2012 11:09:28 +0200
Michael Schnell <mschnell at lumino.de> wrote:

> On 08/21/2012 10:32 AM, Mattias Gaertner wrote:
> > IMO unicodestring should be the same on all platforms, because 
> > otherwise the character size switches per platform, which is hard to 
> > test and asking for trouble. 
> This does seem appropriate. But right now Delphi comparability forces 16 
> Bits and Lazarus forces 8 Bits :( .

Lazarus does not force "unicodestring" to anything for the simple
reason, that it does not use it. It only provides some functions for
converting UTF-8 to/from unicodestring.

At the moment Lazarus does not even use UTF8String, because the RTL
does not use it.

Mattias



More information about the fpc-devel mailing list