Mattias Gaertner schrieb:
On Tue, 25 Nov 2014 14:49:52 +0100
Felipe Monteiro de Carvalho <[email protected]> wrote:

On Tue, Nov 25, 2014 at 2:45 PM, Mattias Gaertner
<[email protected]> wrote:
Retype "Char" to "String" and the compiler will bark. For example in
Graphics.
What about changing to WideChar then?

If you mean unit Graphics: It checks for ASCII characters. So a change
to WideChar would add implicit conversions without any gain.

You see that Unicode handling requires more than only changing declarations?
[Where changing Char to Byte in Graphics might be sufficient, as long as such bytes are not kept in Strings]

In case of ThousandSeparator:
That would probably be sufficient. Although some code needs to
be adapted.

Then you should also see that certain means should at least *allow* to *identify* code that is not sufficiently Unicode-aware. This would not only allow the FPC/Lazarus developers to identify flaws in the standard libraries, but also users will appreciate spotted flaws in their legacy code :-)

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to