[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with UTF-8 when accessing Emacs installed on iMac from ssh s
Re: problem with UTF-8 when accessing Emacs installed on iMac from ssh session on the iPad
Thu, 01 Sep 2011 06:01:24 +0300
> From: Carl Bolduc <address@hidden>
> Date: Wed, 31 Aug 2011 19:47:43 -0400
> Cc: "address@hidden" <address@hidden>
> >> On the iPad, I use Prompt
> >> (http://www.panic.com/blog/2011/04/introducing-prompt-ssh-for-ios/) to
> >> open a ssh session on my Mac and run Emacs remotely. Whenever I try to
> >> add a "French" character such as "é" or "è", I get "\351" in the
> >> buffer and Emacs will complain if I try to save the file. If I switch
> >> the coding system to iso-8859-1, I can enter the French chars without
> >> any problems.
> >> Is there a setting I can change to make UTF-8 work when I access Emacs
> >> through ssh?
> > Are you saying that existing text is displayed correctly, and the
> > problem is with typing French characters? If so, please tell what
> > does the following display in Emacs:
> > M-: keyboard-coding-system RET
> > Also, is this a GUI (graphical) session or a text-mode session?
> Yes, existing text is displayed correctly, and the problem is with
> typing French characters.
> The result of the eval is: utf-8-unix
Looks like Prompt doesn't support UTF-8 keyboard input?
If you can go with setting keyboard-coding-system to latin-1, that
will do. Failing that, I guess my next suggestion would be to use
Emacs input methods (C-u C-\).