unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Pascal Bourguignon <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: accents
Date: Mon, 16 Jul 2007 16:33:55 +0200	[thread overview]
Message-ID: <87d4yso1t8.fsf@thalassa.lan.informatimago.com> (raw)
In-Reply-To: mailman.3524.1184593247.32220.help-gnu-emacs@gnu.org

"Andrés Ghigliazza" <tizone@gmail.com> writes:

> Hi there,
>
> I have a problem with emacs and accents. Emacs works perfectly with
> accents in a text console, and in graphics mode. However, in a
> windowed console (emacs -nw), I can't write  accented letters
> (although they can be seen perfeclty). Moreover, trying to write
> accents while executing emacs in a remote host (with ssh), in a
> windowed console, does not work too, but it works perfectly in the
> remote host if executing with a text console.
>
> The same symptoms happens in two Debian Etch computers, one with GNOME
> and the other with KDE.
>
> Can anybody help me?

The first question, is what encoding does your terminal use to encode
non ASCII characters when you enter them?  (ISO-8859-1, UTF-8, KOI-8,
etc).

Then, there is the problem that the Meta key can be encoded either by
a prefix ESC, or by setting the high-bit of the ASCII code.  If you
want to transmit characters encoded in a 8-bit character code, you
need to configure your terminal (or terminal emulator) to send the
Meta key as a prefix escape, not as a 8th-bit set.

Once you've identified the encoding used by your terminal, you can
configure emacs to process it with something like:

    (setq default-terminal-coding-system 'iso-8859-1)
or:
    (setq default-terminal-coding-system 'utf-8)

or whatever it is.




-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

NOTE: The most fundamental particles in this product are held
together by a "gluing" force about which little is currently known
and whose adhesive power can therefore not be permanently
guaranteed.

       reply	other threads:[~2007-07-16 14:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3524.1184593247.32220.help-gnu-emacs@gnu.org>
2007-07-16 14:33 ` Pascal Bourguignon [this message]
2007-07-17 13:47   ` accents Andrés Ghigliazza
     [not found]   ` <mailman.3557.1184680067.32220.help-gnu-emacs@gnu.org>
2007-07-17 13:58     ` accents Harald Hanche-Olsen
2007-07-20 13:48       ` accents Andrés Ghigliazza
2007-07-17 14:21     ` accents Pascal Bourguignon
2007-07-19 23:34       ` accents Andrés Ghigliazza
     [not found]       ` <mailman.3659.1184888057.32220.help-gnu-emacs@gnu.org>
2007-07-20  1:00         ` accents Pascal Bourguignon
2007-07-16 13:40 accents Andrés Ghigliazza
  -- strict thread matches above, loose matches on Subject: below --
2002-12-16 17:05 accents Carine
2002-12-16 20:10 ` accents Kai Großjohann
2002-12-17  9:46   ` accents Carine
2002-12-17 10:58     ` accents Kai Großjohann

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87d4yso1t8.fsf@thalassa.lan.informatimago.com \
    --to=pjb@informatimago.com \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).