Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-12

getappconfigdirutf8

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrea Mauri

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.freepascal.org/pipermail/lazarus/attachments/20101210/2f77cd10/attachment.html>

Reply by email