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

* Re: Accented characters do not display correctly when running GNU Emacs inside a Windows Command Prompt
  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>
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2012-12-31 19:51 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Mon, 31 Dec 2012 11:39:14 -0800 (PST)
> From: George Politis <gp@superpointer.com>
> 
> 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?

This is a known bug that is already solved for the upcoming release
24.3 of Emacs.  See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12082.
If you can try the latest pretest from alpha.gnu.org, you should see
this problem gone (I hope).




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

* Re: Accented characters do not display correctly when running GNU Emacs inside a Windows Command Prompt
       [not found] ` <mailman.16446.1356983491.855.help-gnu-emacs@gnu.org>
@ 2012-12-31 20:16   ` George Politis
  0 siblings, 0 replies; 3+ messages in thread
From: George Politis @ 2012-12-31 20:16 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: help-gnu-emacs

On Monday, 31 December 2012 20:51:17 UTC+1, Eli Zaretskii  wrote:
> > Date: Mon, 31 Dec 2012 11:39:14 -0800 (PST)
> 
> > From: George Politis
> > 
> > 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?
> 
>
> This is a known bug that is already solved for the upcoming release
> 
> 24.3 of Emacs.  See
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12082.
> 
> If you can try the latest pretest from alpha.gnu.org, you should see 
> this problem gone (I hope).

This was indeed the problem. I just installed the latest pretest and it
works great now. Many thanks!


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