From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: problem with UTF-8 when accessing Emacs installed on iMac from ssh session on the iPad Date: Thu, 01 Sep 2011 06:01:24 +0300 Message-ID: <83bov5dkzf.fsf@gnu.org> References: <83sjohebft.fsf@gnu.org> <-1174087117349740520@unknownmsgid> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1314846108 15091 80.91.229.12 (1 Sep 2011 03:01:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Sep 2011 03:01:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 01 05:01:44 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QyxXA-0003qV-Oj for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Sep 2011 05:01:40 +0200 Original-Received: from localhost ([::1]:51396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyxX1-0002fh-OU for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Aug 2011 23:01:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyxWw-0002cN-9l for help-gnu-emacs@gnu.org; Wed, 31 Aug 2011 23:01:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyxWu-000193-Lz for help-gnu-emacs@gnu.org; Wed, 31 Aug 2011 23:01:26 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:57754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyxWu-00018y-9Z for help-gnu-emacs@gnu.org; Wed, 31 Aug 2011 23:01:24 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LQT00300PFSAQ00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Thu, 01 Sep 2011 06:01:23 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.83.44]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQT003DUPQA7X90@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Thu, 01 Sep 2011 06:01:23 +0300 (IDT) In-reply-to: <-1174087117349740520@unknownmsgid> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82108 Archived-At: > From: Carl Bolduc > Date: Wed, 31 Aug 2011 19:47:43 -0400 > Cc: "help-gnu-emacs@gnu.org" >=20 > >> On the iPad, I use Prompt > >> (http://www.panic.com/blog/2011/04/introducing-prompt-ssh-for-io= s/) to > >> open a ssh session on my Mac and run Emacs remotely. Whenever I = try to > >> add a "French" character such as "=E9" or "=E8", I get "\351" in= the > >> buffer and Emacs will complain if I try to save the file. If I s= witch > >> the coding system to iso-8859-1, I can enter the French chars wi= thout > >> 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 wha= t > > does the following display in Emacs: > > > > M-: keyboard-coding-system RET > > > > Also, is this a GUI (graphical) session or a text-mode session? > > > > >=20 > Yes, existing text is displayed correctly, and the problem is with > typing French characters. >=20 > 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-\).