[Lazarus] LongMonthNames[3] = 'M?rz' in Windows XP with german locale

Vincent Snijders vincent.snijders at gmail.com
Mon Jul 4 20:15:13 CEST 2011


LongMonthNames is RTL, which uses the ansi encoding. If you want to
show it using the LCL, convert it to UTF8.

2011/7/4 John Landmesser <JohnML at online.de>:
> on two different PC with german locale  and Windows XP LongMonthNames[3] =
> 'M?rz'
> ________________________________
> example:
>
> interface
> uses
> {$ifdef unix}clocale,{$endif}
>
>    ShowMessage('März <> ' + LongMonthNames[3]);
>
>
> Application.MainForm.Font.Charset = DEFAULT_CHARSET
>
> That problem doesn't exist for Debian-Sid Linux !?
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>




More information about the Lazarus mailing list