[fpc-devel] Unicode support (again)

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Nov 10 16:56:10 CET 2008

On 10 Nov 2008, at 16:48, Michael Schnell wrote:

> - there are different option on how the compiler expects the coding  
> of the source file. Seemingly if it detects it to be UTF8 coded

The compiler only sets the encoding of the source to UTF-8 if the file  
identifies itself as "I am UTF-8 encoded" (by starting with an UTF-8  
BOM). The compiler does not guess about the encoding in any way.

> and a certain (otherwise correct) option is set,

Which option?

> even "s := 'hallo äöü'; " does not work correctly as expected if s  
> is a WideString. (Lazarus with default settings suffers from this  
> problem).


More information about the fpc-devel mailing list