unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: George Politis <gp@superpointer.com>
To: help-gnu-emacs@gnu.org
Subject: Accented characters do not display correctly when running GNU Emacs inside a Windows Command Prompt
Date: Mon, 31 Dec 2012 11:39:14 -0800 (PST)	[thread overview]
Message-ID: <7389d6f1-afec-4b19-8177-05b88795b92a@googlegroups.com> (raw)

Hello,

If I run GNU Emacs in console mode (with the -nw switch) in PowerShell or a Command Prompt, then accented characters appear as escape sequences in the editor. For example, if I type the letter ``é``, I get ``\202``, for ``à`` I get ``\205``, etc. In windowed mode (without the -nw switch), it works OK!

I am not even remotely familiar with the Emacs source code, but I suspect that this might be a problem with the way it reads characters from the Windows terminal. Then again it might be an obscure configuration error on my part.

I've tried all possible combinations of the following lines in my init file:

(prefer-coding-system 'utf-8)
(setq coding-system-for-read 'utf-8)
(setq coding-system-for-write 'utf-8)

I'm using the Win32 build of GNU Emacs 24.2.1. 

Can somebody please help me or confirm that this is a bug?

Thanks,
George


             reply	other threads:[~2012-12-31 19:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-31 19:39 George Politis [this message]
2012-12-31 19:51 ` Accented characters do not display correctly when running GNU Emacs inside a Windows Command Prompt Eli Zaretskii
     [not found] ` <mailman.16446.1356983491.855.help-gnu-emacs@gnu.org>
2012-12-31 20:16   ` George Politis

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=7389d6f1-afec-4b19-8177-05b88795b92a@googlegroups.com \
    --to=gp@superpointer.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).