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 Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal