Graeme Geldenhuys schreef:
2008/6/30 Mattias Gaertner <[EMAIL PROTECTED]>:
 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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to