From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carl Bolduc Newsgroups: gmane.emacs.help Subject: Re: problem with UTF-8 when accessing Emacs installed on iMac from ssh session on the iPad Date: Wed, 31 Aug 2011 19:47:43 -0400 Message-ID: <-1174087117349740520@unknownmsgid> References: <83sjohebft.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (iPad Mail 8J2) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1314834415 21963 80.91.229.12 (31 Aug 2011 23:46:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 31 Aug 2011 23:46:55 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 01 01:46:50 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 1QyuUa-0001e7-Bi for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Sep 2011 01:46:48 +0200 Original-Received: from localhost ([::1]:38546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyuUV-0007O6-1S for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Aug 2011 19:46:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyuUQ-0007NF-DS for help-gnu-emacs@gnu.org; Wed, 31 Aug 2011 19:46:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyuUP-0002hn-9X for help-gnu-emacs@gnu.org; Wed, 31 Aug 2011 19:46:38 -0400 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:33073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyuUN-0002hJ-OS; Wed, 31 Aug 2011 19:46:35 -0400 Original-Received: by wwf10 with SMTP id 10so1113790wwf.30 for ; Wed, 31 Aug 2011 16:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=5S2UPr4rDlhEOITorDGqBYjkgokf3Yj9MH0o0HqaeU8=; b=n9o8IxqLJlRjP7nUD7jlL9jXR8GabeUxGsG3uakhyqpjAYdde3iRyVlMbiPWaSzAS0 Am+hkaWKMs486iodzBcQlS50q/WosFdc/2y7xhHIcEhutMLFA2IAlpgFXJD/FhoAv6hE C51WHDz39/gnSFRy/qeCA07lA2T5ILTFH2mYg= Original-Received: by 10.216.134.155 with SMTP id s27mr888292wei.53.1314834393285; Wed, 31 Aug 2011 16:46:33 -0700 (PDT) In-Reply-To: <83sjohebft.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 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:82107 Archived-At: >> From: Carl Bolduc >> Date: Wed, 31 Aug 2011 09:12:06 -0400 >> >> 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 "=E9" or "=E8", 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 I have this in .emacs: (setq locale-coding-system 'utf-8) (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8) (set-selection-coding-system 'utf-8) (prefer-coding-system 'utf-8) It is a text-mode session (Emacs -nw through SSH).