[fpc-devel] FPC 2.3.1 seems a mixed mess with Unicode support
Graeme Geldenhuys
graemeg at opensoft.homeip.net
Tue Sep 15 14:18:39 CEST 2009
Jonas Maebe het geskryf:
>
> That's because you did not specify the code page of the source code,
> in which case it's parsed as CP 8859-1.
Even though my Linux system defaults to UTF-8? Umm
> Add {$codepage utf-8} or save
Adding that with test3.pas and then it works.
--------------------
$ ./test4
δΈ–
--------------------
Why doesn't the widestring manager default to the system defaults of my
platform: UTF-8? Sorry if this sounds dumb, but I never use WideString.
I use String with UTF-8 encoded content - similar to Lazarus IDE.
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
More information about the fpc-devel
mailing list