[fpc-devel] FPC 2.3.1 seems a mixed mess with Unicode support

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Sep 15 15:06:47 CEST 2009


On 15 Sep 2009, at 14:58, Graeme Geldenhuys wrote:

> Does the $codepage only affect the WideString Manager?  It doesn't
> affect AnsiString (String type) at all?

It affects how the compiler interprets characters > #127 inside  
constant strings appearing in your source code. This can affect both  
ansistrings and widestrings in your program, depending on whether or  
not you assign constant strings containing such characters to resp.  
ansistring or widestring variables (since depending on the codepage,  
those characters will mean something different and hence your strings  
will get different content).


Jonas



More information about the fpc-devel mailing list