[fpc-devel] Unicode and UTF8String

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Dec 1 21:12:22 CET 2008


On Mon, 1 Dec 2008 17:53:58 -0200
"Felipe Monteiro de Carvalho" <felipemonteiro.carvalho at gmail.com> wrote:

> On Mon, Dec 1, 2008 at 5:50 PM, Marco van de Voort <marcov at stack.nl>
> wrote:
> > You did nail a big problem though, and a weakness in Delphi's
> > design. What to do with classes that are used both straight and in
> > the GUI?
> 
> You mean like TStrings?
> 
> I think we will eventually roll our own TUTF8Strings

This must be added to the classes.pp and TStrings must know it, so that
Assign et al works.


> We could add a unit in FPC for all kinds of UTF-8 versions of
> routines.

Yes, that is a good idea anyway - independent of RTLString and the
current topic. Perhaps this should be discussed in a separate thread.


Mattias
 



More information about the fpc-devel mailing list