<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Solution:<br>
ShowMessage('März <> ' + AnsiToUtf8( LongMonthNames[3]));<br>
<br>
Vincent Snijders explains:<br>
<blockquote type="cite">
<pre wrap="">LongMonthNames is RTL, which uses the ansi encoding. If you want to
show it using the LCL, convert it to UTF8.</pre>
</blockquote>
<br>
<br>
<br>
Am 04.07.2011 19:29, schrieb John Landmesser:
<blockquote cite="mid:4E11F87A.90209@online.de" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<div class="moz-text-html" lang="x-western"> on two different PC
with german locale and Windows XP LongMonthNames[3] = 'M?rz'<br>
<hr size="2" width="100%"><br>
example:<br>
<br>
interface<br>
uses<br>
{$ifdef unix}clocale,{$endif} <br>
<br>
ShowMessage('März <> ' + LongMonthNames[3]);<br>
<br>
<br>
Application.MainForm.Font.Charset = DEFAULT_CHARSET<br>
<br>
That problem doesn't exist for Debian-Sid Linux !?<br>
<br>
</div>
<div class="moz-text-plain" wrap="true" style="font-family:
-moz-fixed; font-size: 13px;" lang="x-western">
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
--
_______________________________________________
Lazarus mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
</body>
</html>