On Fri, 5 May 2017, Mattias Gaertner wrote:

On Fri, 5 May 2017 15:55:32 +0200 (CEST)
Michael Van Canneyt <mich...@freepascal.org> wrote:

On Fri, 5 May 2017, Mattias Gaertner wrote:

> On Fri, 5 May 2017 14:30:32 +0200 (CEST)
> Michael Van Canneyt <mich...@freepascal.org> wrote:
> >> [...] >> > AFAIK FPC stores UTF-8 string literals (-Fcutf8) as widestrings >> > instead of UTF8String. Please correct me if I'm wrong.
To make sure I was presenting correct facts, I did some tests.

As a result of the tests, I think the above statement is wrong.

Naah, not wrong, just a non precise term "UTF-8 string literal". ;)

ASCII is stored by FPC as 8-bit string. No problem with that.
The interesting part are the non ASCII strings. Try your code with
the string examples I gave.

I used non-ascii. Did you not see the russian characters ?

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to