Apache OpenOffice (AOO) Bugzilla – Issue 65752
OOo running in UTF-8 locales is not able to open filenames with latin2 characters
Last modified: 2013-02-07 22:41:25 UTC
I heard from some users that they had had problems to open some old OOo documents after they had updated to a newer SUSE Linux distribution and they had started to use UTF-8 locales. The problem was caused by filenames including non-ASCII characters that were stored in old coding, for example in latin2 (iso-8859-2). Yes, we suggest our users to recode all filenaes to UTF-8. We provide an utility for this purpose. Though, I think that OOo should be able to open such files. I'll attach a file for testing. The filename includes some latin2 charaters. I am sorry, I do not have a fix for this.
Created attachment 36706 [details] A test file packaged in a tar archove, so we do not lost the latin2 chracters by an automatic recoding
TM->requirements: please have a look, thanks !
I'd like to second that. Recently I've been given a CD from a customer who has all sorts of weird Microsoft encodings on it, and I had to copy the CD to my hard disk and rename a lot of files before I could open them. This sucks. OTOH, I was unaware of the tool that renames files, although it would not help much on a CD...
This problem can be solved by executing something like "convmv -f iso-8859-2 -t utf-8 $HOME -r --notest". For the case with a CD, I suppose it needs some mount option that specifies the encoding of filenames on it. It may also require that a kernel module for that encoding is installed. Or it could be copied to the hard disk and fixed with convmv as above.
I agree that the best solution is to recode the filenames. Though, you might get ugly file names also by attachments in mails or from a zip/tar archives. It is a bit annoying to recode the file names just to see them.