On 22 Oct 2008, at 15:36, Michael Schnell wrote:
Maybe this already has been discussed in one of the "Unicode"
threads here, but I did not follow all of them down to the latest
twig and leaf. So I start a new thread hoping for a more
comprehensive result.
I'm nevertheless going to point you to a thread which was started
Saturday and concluded today.
When I want to simply assign a constant text "ö2" to a WideString I
would think that I just write s := 'ö2'; . But I found that this
does not work, but that it creates a WideString of length 3 that
contains the three 8-Bit subcodes of the utf8-coded string "ö2",
zero-extended to 16 Bits, each in one WideChar element. For me this
is very surprising and incompatible to the same code (s := 'ö2'; )
used in a Turbo-Delphi program.
http://lists.freepascal.org/lists/fpc-pascal/2008-October/018967.html
Please read the entire thread, and if you have more question
afterwards, then ask them.
Jonas_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel