unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Accented characters do not display correctly when running GNU Emacs inside a Windows Command Prompt
@ 2012-12-31 19:39 George Politis
  2012-12-31 19:51 ` Eli Zaretskii
       [not found] ` <mailman.16446.1356983491.855.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: George Politis @ 2012-12-31 19:39 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-31 20:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-31 19:39 Accented characters do not display correctly when running GNU Emacs inside a Windows Command Prompt George Politis
2012-12-31 19:51 ` Eli Zaretskii
     [not found] ` <mailman.16446.1356983491.855.help-gnu-emacs@gnu.org>
2012-12-31 20:16   ` George Politis

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