[fpc-pascal] Unicode filenames

Vincent Snijders vsnijders at quicknet.nl
Mon Jun 30 10:35:38 CEST 2008


Graeme Geldenhuys schreef:
> 2008/6/30 Mattias Gaertner <nc-gaertnma at netcologne.de>:
>>>  Even Linux's terminal didn't display the russian directory correcty.
>>> A whole bunch of '?????????' instead. fpGUI worked fine! ;-)
>> How did you change to russian locale?
> 
> By setting the LANG environment variable.
>   export LANG=ru.UTF-8
> 
>> Linux is not the problem here. Windows is. You must use the W functions.
> 
> We do use the W functions in the GDI backend. As show in Felipe's post.
> 
>   if UnicodeEnabledOS then
>     ...   // W functions
>   else
>     ....  // plain functions

But for filenames in fpgFileExists?

Vincent



More information about the fpc-pascal mailing list