[Lazarus] GetAppConfigDir on Windows XP (PT-BR): Configura??es

Denis Kozlov dezlov at gmail.com
Fri Apr 1 17:55:32 CEST 2016


On 1 April 2016 at 15:02, Alexsander Rosa <alexsander.rosa at gmail.com> wrote:

> Lazarus 1.4.4 with FPC 2.6.4.
>


In Lazarus 1.4.4, GetAppConfigDirUTF8 and GetAppConfigFileUTF8 internally
use GetAppConfigDirAnsi and GetAppConfigFileAnsi (unless running on Windows
CE), respectively. These functions call ANSI version of Windows API and
then map the result into UTF8.

If there are characters in the path which do not exist in your current
system ANSI code page, then you would get question marks instead,
e.g. "Configura??es".

Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160401/8cf16b30/attachment-0003.html>


More information about the Lazarus mailing list