Christian Schnobrich wrote: > part of my work is to write some plain text files [..], I have > to set the coding system of my editor to utf-8. If they're > anything else, both gedit and emacs will garble german umlauts > in the text.
I use bluefish as my editor now. Very nice. UTF-8 and gtk-immodule support. > Utf-8 is fine for me -- seemingly it is the preferred coding > system for German. > > However, OpenOffice seemingly only expects Latin-1 when opening > text files -- anything else (including utf-8) will suffer. In my case, utf-8 files with umlauts are read correctly by OO. This is probably because my default locale is of the unicode type (en_GB.UTF-8) by means of an entry in /etc/profile: export LANG=en_GB.UTF-8 If I force openoffice to become "utf-8 ignorant", by means of LANG=C openoffice I get exactly the same symptoms that you reported (a "doesn't support locale" warning, and garbled umlauts). However, Openoffice *even in a C locale* can interpret utf-8 files correctly. In the "file", "open" dialog there is a drop-box "File type". Choose "text encoded (*.txt)", then select "utf-8". The file will be displayed correctly. Regards, Jan. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]