Hi, I just enabled WindowsUnicodeSupport in the svn version for Lazarus (revison 14883), if fpc 2.2.1 or later is used. This effects all applications compiled with the win32 interface.
The main difference is how the win32 interface expects that strings from the LCL are encoded, the old way is was the system char set, in the new way is all strings are treated as UTF-8. This is already the default for most other widget sets, so this change improves portability of LCL applications. As a consequence source files must be encoded as UTF-8 too, otherwise they cannot be shown in the Lazarus editor. We invite all windows users to test this and report bugs to the bug tracker. If no major bugs are found, then this will be the default for the next Lazarus release too. Lazarus 0.9.26 is scheduled a couple of weeks after the fpc 2.2.2 release because of a widestring bug in fpc 2.2.0. For more information about LCL and Unicode support, see: http://wiki.lazarus.freepascal.org/LCL_Unicode_Support#Unicode-enabling_the_win32_interface To go back to the old situation compile the LCL with -dDisableWindowsUnicodeSupport. Vincent _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
