[fpc-devel] Unicode in the RTL (my ideas)

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Aug 21 15:49:18 CEST 2012

On Tue, 21 Aug 2012 18:15:07 +0500
Ivanko B <ivankob4mse2 at gmail.com> wrote:

> For example?
> ==============
> Sometime reading directory/file names. Sometime PostgreSQL produces
> UTF-8 dumps with errors causing problems to converting to single byte
> encoding (KOI8-R) - me have to use the "-c" switch of ICONV for such
> conversions. Really not seldom errors, but You (latins) are just
> unaware of them.

Ivanko, your mailer replied this mail to another mail of this thread,
which is somewhat confusing. Then you kept only the last
line of the text you replied to and now it is totally confusing.

I guess the "For example?" is from my mail:

> > For that reason there is no
> >  speed difference between using a UTF-16 or UTF-8 encoded string. Both
> >  can be coded equally efficient.
> > ==============
> > No in common, since UTF-8 needs error handling, replacing for
> > unconvertable bytes etc operations which may effect initial data which
> > makes per-byte comparision unreliable.  
> For example?

If you replied to this mail then you lost me.
I don't understand what problem of UTF-8 for the RTL you want to point
out. Can you explain again?


More information about the fpc-devel mailing list