[Lazarus] UTF8String and UTF8Delete
Jürgen Hestermann
juergen.hestermann at gmx.de
Sat Dec 12 19:21:33 CET 2015
Am 2015-12-12 um 19:00 schrieb Bart:
>> Then why does it say:
>> "Since FPC 2.7.1 the default system codepage of the RTL can be changed to UTF-8
>> (CP_UTF8)"
>> It should say:
>> "Since FPC 2.7.1 the default system codepage of the RTL *is* UTF-8 (CP_UTF8)"
> Why in the world would you think so?
Because Juha wrote:
> Please read this :
> http://wiki.freepascal.org/Better_Unicode_Support_in_Lazarus
> "String" type is UTF-8 and it works now (almost) transparently without
> explicit conversions.
and
>The page says among other things :
> "The new mode is enabled automatically when compiling with FPC 3.0+."
That should tell me that STRING is now UTF-8 all the time.
And I wondered about the text in the wiki which says that it *can* be changed.
But if it not only can be changed but already *is* changed
then the wiki text needs a change too.
As said: The docu in the wikis is very confusing and contradicting,
fully understandable only for those who already know the details.
More information about the Lazarus
mailing list