[fpc-devel] Unicode and Lazarus

Martin Friebe fpc at mfriebe.de
Thu Nov 20 12:14:55 CET 2008


Daniël Mantione wrote:
> Op Thu, 20 Nov 2008, schreef Felipe Monteiro de Carvalho:
>> So, what kind of support could be implemented in Free Pascal to
>> improve things for Lazarus and it´s users?
>>
>> Maybe a real UTF8String?
> There will be a real UTF8string, i.e. ansistring with UTF-8 encoding 
> as part of type information, this will help Lazarus users to get rid 
> of the utf8encode/utf8decode.
" ansistring with UTF-8 encoding as part of type information"

This sounds like a dynamic solution? As in the info that it is UTF8 
encoded is part of the data, not of the type? Or do I misunderstand?

IMHO UTF8String should be like widestring. The encoding/decoding related 
parts are decided at compile time; not at runtime.




More information about the fpc-devel mailing list