[fpc-devel] new string - question on usage

Michael Schnell mschnell at lumino.de
Tue Oct 11 09:34:10 CEST 2011


On 10/10/2011 10:11 PM, Luiz Americo Pereira Camara wrote:
>
> 2- It should have (dont know if currently has) a compiler switch to 
> change the default code page to UTF8 or whatever, so all variables 
> with type String will map to UTF8String.
Why ?

I feel, the LCL code should only be codepage aware directly at the OS / 
Widget-set - interface. Same might or might not be UTF8. I don't see why 
the LCL should force anything else to a certain encoding (such as UTF-8).

-Michael



More information about the fpc-devel mailing list