From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: George Politis Newsgroups: gmane.emacs.help Subject: Re: Accented characters do not display correctly when running GNU Emacs inside a Windows Command Prompt Date: Mon, 31 Dec 2012 12:16:44 -0800 (PST) Message-ID: <735dfbfa-a5e8-4581-88a8-bf5e0899126e@googlegroups.com> References: <7389d6f1-afec-4b19-8177-05b88795b92a@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1356985213 15120 80.91.229.3 (31 Dec 2012 20:20:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Dec 2012 20:20:13 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 31 21:20:29 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TplqW-0001Vw-K8 for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Dec 2012 21:20:28 +0100 Original-Received: from localhost ([::1]:60001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TplqH-0003pe-N1 for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Dec 2012 15:20:13 -0500 X-Received: by 10.224.184.11 with SMTP id ci11mr22637375qab.1.1356985004995; Mon, 31 Dec 2012 12:16:44 -0800 (PST) Original-Received: by 10.49.94.143 with SMTP id dc15mr6036994qeb.32.1356985004975; Mon, 31 Dec 2012 12:16:44 -0800 (PST) Original-Path: usenet.stanford.edu!ee4no9885710qab.0!news-out.google.com!k2ni4226qap.0!nntp.google.com!ee4no9885709qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=92.139.229.73; posting-account=it9pXwoAAAARn_UDmHcG3pJN2TM5ky3K Original-NNTP-Posting-Host: 92.139.229.73 User-Agent: G2/1.0 Injection-Date: Mon, 31 Dec 2012 20:16:44 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:196064 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88376 Archived-At: On Monday, 31 December 2012 20:51:17 UTC+1, Eli Zaretskii wrote: > > Date: Mon, 31 Dec 2012 11:39:14 -0800 (PST) >=20 > > From: George Politis > >=20 > > 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 > > ``=E9``, I get ``\202``, for ``=E0`` I get ``\205``, etc. In windowed > > mode (without the -nw switch), it works OK! > >=20 > > > > 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.=20 > >=20 > > Can somebody please help me or confirm that this is a bug? >=20 > > This is a known bug that is already solved for the upcoming release >=20 > 24.3 of Emacs. See > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12082. >=20 > If you can try the latest pretest from alpha.gnu.org, you should see=20 > this problem gone (I hope). This was indeed the problem. I just installed the latest pretest and it works great now. Many thanks!