[dev] Corruption of file URL's with Hebrew
Hi list-members, I'm trying in Windows to open an OOo document that has Hebrew in its filename by double-clicking on the document in Windows explorer. OOo doesn't open the document. This is not a problem in OOo 1.1.5, and it's not a problem in 2.x with files that have only Latin in the filename. I looked in a debugger at the CommandLineArgs constructor, and I found that the value of aCmdLineArgs is: -o|file:///C:/Documents%20and%20Settings/ooo/My%20Documents/Tkos/2005_11_06_%3F%3F%3F%3F%3F.odt| In the file URL, the various Hebrew letters all have taken on the value %3F, even though they are not all the same Hebrew letter. Can anyone guide me about why the filename has been corrupted? Thanks, Alan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Corruption of file URL's with Hebrew
Hi list-members, This apparently has to do with the default language for non-Unicode programs which is set in Control Panel's Regional Options/Advanced. When I set the default language to Hebrew, the file opens properly. How can I get this to work even if the default non-Unicode language is not Hebrew (like it did in 1.1.5)? Alan Alan Yaniger wrote: Hi list-members, I'm trying in Windows to open an OOo document that has Hebrew in its filename by double-clicking on the document in Windows explorer. OOo doesn't open the document. This is not a problem in OOo 1.1.5, and it's not a problem in 2.x with files that have only Latin in the filename. I looked in a debugger at the CommandLineArgs constructor, and I found that the value of aCmdLineArgs is: -o|file:///C:/Documents%20and%20Settings/ooo/My%20Documents/Tkos/2005_11_06_%3F%3F%3F%3F%3F.odt| In the file URL, the various Hebrew letters all have taken on the value %3F, even though they are not all the same Hebrew letter. Can anyone guide me about why the filename has been corrupted? Thanks, Alan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Corruption of file URL's with Hebrew
Hi Alan, Alan Yaniger wrote: Hi list-members, This apparently has to do with the default language for non-Unicode programs which is set in Control Panel's Regional Options/Advanced. When I set the default language to Hebrew, the file opens properly. How can I get this to work even if the default non-Unicode language is not Hebrew (like it did in 1.1.5)? %3F is the question mark - the file name obviously was converted to a URL with the wrong encoding. Did you really debug the command line OOo got from the system? Then where did the URL come from, I doub that Windows will convert file names to URLs. Which Windows did you use? Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to [EMAIL PROTECTED]. I use it for the OOo lists and only rarely read other mails sent to it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]