[Lazarus] getappconfigdirutf8

Andrea Mauri andrea.mauri.75 at gmail.com
Fri Dec 10 16:31:05 CET 2010


Dear all,
I have a problem using GetAppConfigDir and GetAppConfigDirUTF8 functions 
when I have special characters.
Here two examples.

If my local app config dir is:
C:\Documents and Settings\user_n(\Impostazioni locali\Dati applicazioni

If I use GetAppConfigDir(False) I get:
C:\Documents and Settings\user_n\Impostazioni locali\Dati applicazioni

I get the same path also if I use GetAppConfigDirUTF8(False).

Otherwise if my local app dir is:
C:\Documents and Settings\§©®á\Impostazioni locali\Dati applicazioni

If I use GetAppConfigDir(False) I get:
C:\Documents and Settings\??\Impostazioni locali\Dati applicazioni

but if I use GetAppConfigDirUTF8(False) I correctly get my local app dir.

Any hint?

Andrea


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20101210/2f77cd10/attachment-0002.html>


More information about the Lazarus mailing list