all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carl Bolduc <carlbolduc@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
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	[thread overview]
Message-ID: <-1174087117349740520@unknownmsgid> (raw)
In-Reply-To: <83sjohebft.fsf@gnu.org>

>> From: Carl Bolduc <carlbolduc@gmail.com>
>> 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 "é" 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

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).



  reply	other threads:[~2011-08-31 23:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-31 13:12 problem with UTF-8 when accessing Emacs installed on iMac from ssh session on the iPad Carl Bolduc
2011-08-31 17:29 ` Eli Zaretskii
2011-08-31 23:47   ` Carl Bolduc [this message]
2011-09-01  3:01     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=-1174087117349740520@unknownmsgid \
    --to=carlbolduc@gmail.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.