<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi,</div>
<div> </div>
<div>
<div>if i call a windows API function for special folder, like:</div>
<div> </div>
<div>
<pre>uses
...
shlobj;
var
AppDataPath: Array[0..MaxPathLen] of Char;
begin</pre>
</div>
<pre> SHGetSpecialFolderPath(0,AppDataPath,CSIDL_STARTUP,false);</pre>
<div>end;</div>
<div> </div>
<div>I get on a german localized Windows XP a path containing "\Startmenü\", but the "ü" is "?" in the resulting string.</div>
<div> </div>
<div>Howto convert the chars in AppDataPath to get the "Umlauts" correct?</div>
<div> </div>
<div>Thanks!!</div>
</div></div></body></html>