On 3/30/16, Alexsander Rosa <alexsander.r...@gmail.com> wrote:

Which Lazarus version?
Which Fpc version?
Did you define DisableUtf8RTL in project options?

Lazarus trunk:

  s := getappconfigdirutf8(false);
  e := ExtractFilePath(getappconfigdirutf8(false));
  showmessage('GetAppConfigDir(False) = '^m'"'+s+'"'+
              ^m^m'ExtractFilePath(GetAppConfigDir(False)) = '+
              ^m'"'+e+'"');

Gives me
[Window Title]
test

[Content]
GetAppConfigDir(False) =
"C:\Users\บลูเบอ\AppData\Local\test\"

ExtractFilePath(GetAppConfigDir(False)) =
"C:\Users\บลูเบอ\AppData\Local\test\"

[OK]

Notice that the username (บลูเบอ) is outside my current system
codepage and still isdisplayed correctly.

(The code for getAppConfigDirUtf8 in 1.6 does not differ from trunk.)

When do you see the "Configura??es", in a GUI window (like showmessage
or a TLabel) or when written to console with writeln??

Bart

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to