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

John Landmesser JohnML at online.de
Mon Jul 4 20:49:56 CEST 2011


Am 04.07.2011 20:15, schrieb Vincent Snijders:
thank you for that tipp:

Solution:
ShowMessage('März <> ' + AnsiToUtf8( LongMonthNames[3]));





> 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
>>
>>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus





More information about the Lazarus mailing list