On Sun, Jul 17, 2016 at 4:27 PM, Kostas Michalopoulos <[email protected]> wrote: > Why not make the old functions simply call the new ones?
The "old functions" were wrappers and indeed called the actual functions in proper units. > Why break user code? Sometimes code must be cleaned. The breakage was not bad, it only required to change or add units in uses section. This was a proper time for a cleanup because the whole UTF-8 support was revamped which also broke some code. The wrapper functions were mostly UTF-8 helper functions, many of which are not needed any more. Removing the wrappers can be seen as a hint to clean up your code even more. In practice you can replace most UTF8...() and ...UTF8() functions with their Delphi compatible versions without the "UTF8" part. See: http://wiki.freepascal.org/Better_Unicode_Support_in_Lazarus Juha -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
