[Lazarus] Removed use of UTF8String in Lazarus to work with cpstrnew

Paul Ishenin webpirat at mail.ru
Mon Sep 19 12:45:47 CEST 2011


19.09.2011 18:32, cobines wrote:
> My confusion was caused by the fact that Lazarus uses AnsiString with
> default system code page but inside it always stores UTF-8, sort of
> fooling the compiler. Is this correct? If so, is it not possible to
> set Lazarus to use String=AnsiString(CP_UTF8) by default?
This is not desired at the moment because compiler is not 100% ready to 
use UTF8String.

When compiler support for cp strings is ready Lazarus will probably 
switch to UTF8String type.

Best regards,
Paul Ishenin.




More information about the Lazarus mailing list