On Mon, Jan 03, 2005 at 04:52:33PM +0200, Filippos Papadopoulos wrote:
Hi to list. Best wishes for the new Year.
I have the following problem: I am using 9.2 with UTF-8. The problem is that when i try to view a file written in ISO-8859-7 under konsole (say via cat or less), i just see round squares (cat) or some numbers (less). Same things happen when i slogin to a Solaris 9 machine with LANG=el (defaults to 8859-7 to Solaris).
Ok i understand this because the encodings are different but this really messes up my work... I sent emails via pine so u understand that the 8859-7 characters are displayed as complete trash. The funny thing is that Solaris 9 says that supports UTF-8 but thats not full (it cant cope with many Greek letters).
So is there any way under my SuSE 9.2 KDE konsole to see my 8859-7 characters while working both locally and remotely (of course still using the UTF-8 encoding)?
Yes, use luit (from xorg-x11.rpm). For example, when I ssh from my 9.2 box which uses cs_CZ.UTF-8 to a different one which uses 8859-2, I say LC_ALL=cs_CZ luit ssh martin@foo.mff.cuni.cz To make a konsole session, wrap it in sh -c "..." I also have a little script for it: mvidner@valkyrie:~$ cat ~/bin/l2 #! /bin/sh LANG=cs_CZ luit "$@" -- Martin Vidner, developer SuSE CR, s.r.o. e-mail: mvidner@suse.cz Drahobejlova 27 tel:+420-296542373 190 00 Praha 9, Czech Republic http://www.suse.cz