Am 12.10.2011 14:17, schrieb Graeme Geldenhuys:
As for you statement regarding "do we need Unicode support everywhere?" Well, with Delphi 2009's Unicode support, the Delphi language now supports Unicode too. Thus unit names, class names, property names, variable names etc can all contain Unicode text in there names. So yes, Unicode is required throughout the Object Pascal language, and FPC Compiler. You can't have AnsiString only in some places, and Unicode support in others. It's all or nothing.
You are not completely correct. Support for let's call them non-ASCII identifier was introduced by Delphi 2007, the version before the Unicode-switch. So those two concepts don't need to be used together.
I also don't agree with the point that it needs to be all or nothing. Allowing Unicode in Strings and String constants is a completely different thing than allowing unicode characters in identifiers as well. And the first does not need the second.
Regards, Sven _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel