Zitat von Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>:

> if a real utf8string would be a solution for Lazarus (I am not saying
> it is, but it could be), we need to have a directive to change the
> default string into utf8string. To avoid a huge amount of code to need
> to be suddenly changed. Then only "ansistring" needs to be changed.

Compiler support for a unicode string is not enough for the LCL.
As long as base classes like TStrings uses ansistrings, the LCL must use a
string type, that does no conversion.

For example:
Items[i]:=Caption;

As long as Items[i] is treated as ansi, any automatic conversion can loose
unicode characters.

So the roadmap from LCL pov is:
- compiler support for some unicode string on every platform: done in fpc 2.3,
thanks to Florian
- a RTL using unicode strings
- changing the string types in the lazarus code
- a fpc release with the unicode RTL


Mattias

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to