2008/6/30 Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>: > > Nothing arived here. Can't you just say if it worked or not?
Crap! See the email below, I removed the screenshot for now. Under Linux, I could see and query the directory and file, while my system as setup for English. Again, no idea how to do this test under Windows without Russian locale support. ---------- Forwarded message ---------- From: Graeme Geldenhuys <[EMAIL PROTECTED]> Date: 2008/6/30 Subject: Re: [fpc-pascal] Unicode filenames To: FPC-Pascal users discussions <fpc-pascal@lists.freepascal.org> 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. I could also query a russian file inside the russian directory. PS: Even Linux's terminal didn't display the russian directory correcty, though Nautilus did. The terminal showed a whole bunch of '?????????' instead. In fpGUI it looked fine. [.... screenshot removed ....] 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