Bug 119816 - Openoffice needs UTF-8 to save files with umlauts
Summary: Openoffice needs UTF-8 to save files with umlauts
Status: RESOLVED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: OpenOffice.org (show other bugs)
Version: RC 1
Hardware: Other All
: P5 - None : Major
Target Milestone: ---
Assignee: Mark Gordon
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-02 09:11 UTC by Jens Benecke
Modified: 2006-04-02 19:51 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Benecke 2005-10-02 09:11:56 UTC
Hello, 
 
since the first milestones of OOo 2.0 all umlauts in filenames are converted 
to %XX escape sequences. This makes it impossible to save a file e.g. 
"Kündigung.odt", it is always saved as "K%FCndigung.odt", which messes up 
sorting and readability and does not do what the user expects. It is possible 
that this also happens with other accented characters (I haven't tested). 
 
I have witnessed this problem on SuSE 9.1, 9.2, 9.3 and 10.0rc1 with the 
respective OOorg snapshots. The latest snapshot I'm using is 1.9.125 (I think 
this is beta2). 
 
Thank you, 
 
Jens
Comment 1 M Nagashree 2005-10-06 06:54:17 UTC
I was not able to replicate the issue, this works fine with out any issues with
OpenOffice 1.9.125.1.2 (It was with SUSE10 RC build) can you try with the latest
version and see if you still face the issue.
Comment 2 Jens Benecke 2005-10-06 10:54:42 UTC
Yes, I also have the SuSE 10RC1 build. I still have this problem. I also  
switched off UTF-8 (in YaST -> Language -> Advanced) for compatability with 
our existing software and data. Perhaps this is the reason.  
  
I cannot update my 10.0rc1 installation right now, because all the YaST FTP  
sources for 10.0 seem to have vanished. Also, my YaST online update still  
thinks I'm using 9.3, and I cannot think of anything to make it believe  
otherwise (-> seperate bug).  
 
Thanks for your reply! :-) 
 
Comment 3 Jens Benecke 2005-12-12 08:38:37 UTC
Hello,
has anything been done about this bug? Can I help in some way?

Thanks!
Comment 4 Mark Gordon 2005-12-12 18:33:14 UTC
I'm unable to reproduce the bug in NLD10pre1, though admittedly I haven't turned off UTF-8.

Jens: can you check whether turning UTF-8 back on actually does resolve the problem?
Comment 5 Jens Benecke 2005-12-12 22:46:05 UTC
Yes, with UTF-8 turned on everything is fine. I did

export LC_ALL=de_DE.UTF-8
export LANG=de_DE.UTF-8
oowriter &

and saved a file. It is correctly saved with umlauts in filenames (although they show up strange in the filemanager because the filemanager itself is using my default ISO8859-15 charset).
Comment 6 Andi Wundsam 2005-12-27 14:46:47 UTC
I can confirm the bug in our infrastructure, too (several machines, SuSE 10 on x86, UTF-8 turned off). Sadly, we cannot easily convert to UTF-8 right now (CVS data needs to keep consistent). Is there a workaround, or any chance this will be fixed soon?
Comment 7 Mark Gordon 2006-01-03 22:08:35 UTC
Andi: By "cannot easily convert to UTF-8", do you mean "can't run my entire desktop with LC_ALL and LANG being de_DE.UTF-8 because legacy apps have a problem with it", or "can't run OOo using UTF-8"?  If it's the former, I'd suggest invoking OOo through a wrapper (either the system-wide one or a user-defined wrapper around that) which sets the locale to use UTF-8.  As noted above, this may not integrate perfectly with the filemanager.  If it's the latter, I'd fall back on the old "umlaut -> e" mapping (or, to be pedantic, the unmapping of "e->umlaut").  It may be suboptimal in terms of sort order, but it's at least readable.  Really, the solution is UTF-8.

I'm closing this bug as INVALID.  The underlying problem (need to save files with umlauts) already has a reasonable solution (UTF-8), and reasonable workarounds exist for cases when UTF-8 isn't an option.
Comment 8 Jens Benecke 2006-01-04 13:21:44 UTC
Hello,

IMHO this is still a bug and it's not invalid. SuSE offers the possibility of setting a system-wide character set different to UTF-8. All applications support this fine, and can cope with non-ASCII characters in the respective charset. Except OpenOffice, which mangles names when not in UTF-8 mode.

A workaround that maps ä -> "ae" and so on would work but it would have to provide a substitute for all non-ASCII characters, which is hardly possible or feasible.

At the VERY least OpenOffice should provide a warning that umlauts in file names are not supported when not using UTF-8 as a system-wide charset. As I described there are many cases where UTF-8 is simply not an option yet due to legacy data. However, I still don't understand why other applications simply don't have this problem and map all characters correctly according to the charset in use.

Jens
Comment 9 Christian Boltz 2006-04-02 19:51:41 UTC
I found the same problem when opening (!) files with OpenOffice from 10.1 beta9. It's impossible to open files with umlauts in their names :-(

(I use de_DE@euro as locale - but I agree with Jens that using a non-default charset should not cause such a problem. Other applications can handle this, too.)

Please consider reopening this bugreport!