[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Emacs and accented characters



On Wed, Apr 04, 2007 at 23:10:49 +0000, Marco De Vitis wrote:
> Hi,
> I've got a small annoyance in Etch, but I think it was there in Sarge, too.
> 
> I connect to the Debian machine via ssh (usually from OSX Terminal, but also 
> from PuTTy on Windows the same happens).
> 
> The machine has LANG="en_US.UTF-8". I need to type accented characters from 
> the ISO-8859-1 charset (such as "à" and "è"), and this setting should 
> allow me to do it, being UTF-8.
> Indeed, I can happily type them on the command line, and I can see them in 
> filenames, but I cannot use them in Emacs (21.4.1) or other text editors 
> (tried vi and pico): it looks like some other kind of non-printable code is 
> inserted when I press one of those keys.
> 
> Does anyone know how to fix it? Sounds like a FAQ to me, but I couldn't find 
> anything useful on Google today.

Maybe your emacs runs under an incorrect locale setting for some reason.
Do you still see the correct values if you run "locale" from within
emacs? (M-! lets you run a shell command if I remember correctly.)

-- 
Regards,
          Florian



Reply to: