Re: wrong charset
* El 11/05/09 a las 1:04, Derek Martin chamullaba:
> On Thu, May 07, 2009 at 09:40:00PM -0300, Luis A. Florit wrote:
> > 1) why ?charset=utf-8 if I am working in a ISO-8859-1 xterm?
>
> How do you know that the xterm *is* ISO-8859-1?
Good question... :o) I wrote that because of three reasons,
but maybe I am still wrong. Let's see:
1) The xterm has a drop-down menu where you can choose the encoding.
I set this as ISO-8859-1.
2) When I switch to UTF-8 in this drop-down menu, I see accents in
mutt and UTF-8 files correctly.
3) Vim works fine with this config, exactly as in my ISO-8859-1 Fedora
rxvt/xterm. And other commands like cat over ISO-8859-1 files work
equally well.
> If you tried using xterm with UTF-8 before, and you got garbage, it's
> possibly because you were not using a UTF-8 font. If you want to
> check that, add this line to your .Xdefaults file:
>
> XTerm*font: -misc-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-*
>
> Hopefully, you will have a font that matches that on your system.
> Then, at the shell, type this command:
>
> $ xrdb -merge .Xdefaults
>
> Then start a new Xterm, and see if mutt works right.
There is no xrdb command in maemo... :o(
Thanks Derek!!!
Cheers,
L.