[fpc-devel] Comparison Delphi7/FPC2.4.0 compiled MSEide exe's
Martin Schreiber
mse00000 at gmail.com
Mon Sep 13 14:24:28 CEST 2010
On Monday, 13. September 2010 14.12:38 Graeme Geldenhuys wrote:
> Op 2010-09-13 13:47, Martin Schreiber het geskryf:
> > I can not use resource strings because FPC resource strings are not
> > unicode capable AFAIK.
>
> Probably related to your choice of UCS-2 - I don't really know the specific
> issues you have, so it is hard to tell. I can say that I have been using
> resource strings (with unicode text) for ages, but fpGUI and my projects
> use UTF-8 internally, which obviously works around (mostly) the "lack of
> Unicode support in FPC" because UTF-8 text can be treated as a byte array.
>
It works because you don't use a BOM or -Fcutf8 -> you can't use UnicodeString
without converting from/to utf-8 manually in code.
And sorry, FPC does not "lack of Unicode support", it has very good Unicode
support with exception of missing resourcestrings.
Martin
More information about the fpc-devel
mailing list