On Sun, 23 Nov 2014 18:27:12 -0300
luiz americo pereira camara <[email protected]> wrote:

> 2014-11-20 13:21 GMT-03:00 Mattias Gaertner <[email protected]>:
>[...]
> Please test and tell what you find out.
> >
> >
> The FormatSettings fields are still encoded with System Code Page
> regardless of DefaultSystemCodePage value.
> 
> While for english locales there's no problem, other locales like PT-BR have
> accented names in days and monthes.
> 
> The problem is in windows SysUtils.GetLocaleStr function that uses non
> unicode Win Api function. This problem will affect also the UnicodeString
> RTL.
> 
> Attached is a test app that shows the issue. It also has a version of
> GetLocaleStr that fixes the issue for the RTL (both versions)

Thanks. It works here too.

I reported it:
http://bugs.freepascal.org/view.php?id=27086

Mattias

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

Reply via email to