Bugzilla – Bug 131710
word doc with chinese file name can not be openend by ooo in gnome
Last modified: 2006-03-22 12:13:16 UTC
When double click a word doc with chinese file name in gnome, it start an openoffice to open it. But the openoffice reports that the file can not be found. But when using openoffice open it directly by selecting "open" in menu, the doc can be opened correctly.
Adding meeks as CC. Either this is gnome launching with a bad URI or OO not getting it from the command line properly.
Well - this is most interesting; sadly I don't have any samples of chinese names to use for test documents; but using the only piece of Japanese I have: 日本語 and naming a file <that>.doc - I can launch it jut fine from nautilus - and from the console. [ of course this is with SL 10.1 ]. Any chance if you repeat this in 10.1 ? Thanks.
Maybe Zhe Su can help us out here.
I see, This problem occurs when I use GBK locale . But UTF8 locale is ok
The use of non-UTF8 locales simply cannot be supported. I assume your file-name is in UTF-8 (or GNOME wouldn't handle it) but your locale is non-UTF8 ? It's important that both are UTF8. Of course, we could clobber the OO.o internal char-set detection code (that is trying to be too clever) to always use UTF-8 - that is perhaps a solution, but an ugly one.