[fpc-devel] Unicode and UTF8String

Marco van de Voort marcov at stack.nl
Mon Dec 1 21:23:34 CET 2008

In our previous episode, Mattias Gaertner said:
> > In our previous episode, Mattias Gaertner said:
> > > > 
> > > > I see this as a theoretic consideration. Please give a real world
> > > > (!) code example when this causes a problem.
> > > 
> > > Can you give a real world example where a different RTLString for
> > > each platform solves a problem?
> > 
> > It avoids pingpong repeated conversions between OS encoding and
> > whatever encoding is default.
> A real world example please.

I don't have to. If you guaranteedly have two encodings into place and
combine code out multiple sources this will happen for sure.

Keeping as much as possible in the system encoding, will limit this only to
legacy packages that haven't been properly ported yet, and at least a hope
staying away from converison hell.

More information about the fpc-devel mailing list