[fpc-pascal] Unicode filenames

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Jun 30 10:32:58 CEST 2008


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


Regards,
 - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-pascal mailing list