2008/6/29 Vincent Snijders <[EMAIL PROTECTED]>: > > If you create a file with a russian name on your hard disk, can you use > fpgFileExists to check for its existence?
I don't know how to change the Windows language to Russian, but I do under Linux. So I did the following. I changed my Linux systems locale for an application to Russian. I had Russian translations of fpGUI Toolkit so used those. I copied the rsCancel resourcestring value (in Russian) to a Edit component. Copied that to clipboard, used the File Open dialog to 'create directory' and pasted the Russian word for Cancel in their. Now I had a Russian directory on the hard drive. I quit the program, changed back to English locale. Loaded the program, and it displayed the Russian directory correctly. PS: Even Linux's terminal didn't display the russian directory correcty. A whole bunch of '?????????' instead. fpGUI worked fine! ;-) See attached screenshot. Application using English locale (en_ZA.UTF-8) as can be seen by the grid headers and displaying a Russian directory name. Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/
<<attachment: Screenshot.gif>>
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal