[fpc-devel] Unicode support (again)

Michael Schnell mschnell at lumino.de
Tue Nov 11 09:09:52 CET 2008


> Which option?
I don't remember right now. It's the default option in Lazarus ;) (This 
has already been discussed in another thread.).

Lazarus seems to need to set this option because the LCL API is strictly 
UTF8 (and the UTF8String [ =ANSIString] ) type used otherwise would not 
get correct initialization from a string constant in the source code, as 
without this option, string constants seem to be correct WideStrings 
which <without manual conversion> are incorrectly converted to 
UTF8String as the compiler mistakes UTF8String for ANSIString).


-Michael



More information about the fpc-devel mailing list