From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: can not decode 0x93 and 0x94 to correct char Date: Mon, 01 Oct 2007 10:33:29 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1191202486 10201 80.91.229.12 (1 Oct 2007 01:34:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Oct 2007 01:34:46 +0000 (UTC) Cc: william.xue@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 01 03:34:42 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IcABE-0008NL-8S for ged-emacs-devel@m.gmane.org; Mon, 01 Oct 2007 03:34:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IcAB9-0003hB-HL for ged-emacs-devel@m.gmane.org; Sun, 30 Sep 2007 21:34:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IcAAb-0003XB-Kf for emacs-devel@gnu.org; Sun, 30 Sep 2007 21:34:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IcAAZ-0003Wh-OC for emacs-devel@gnu.org; Sun, 30 Sep 2007 21:34:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IcAAZ-0003We-JZ for emacs-devel@gnu.org; Sun, 30 Sep 2007 21:33:59 -0400 Original-Received: from mx1s.aist.go.jp ([150.29.246.134]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IcAAU-0004ZR-GG; Sun, 30 Sep 2007 21:33:55 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1s.aist.go.jp with ESMTP id l911XVpD006694; Mon, 1 Oct 2007 10:33:32 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id l911XUSU029333; Mon, 1 Oct 2007 10:33:30 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id l911XTqQ025601; Mon, 1 Oct 2007 10:33:29 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.67) (envelope-from ) id 1IcAA5-0001ni-Ru; Mon, 01 Oct 2007 10:33:29 +0900 In-reply-to: (message from Eli Zaretskii on Fri, 28 Sep 2007 10:30:01 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-Detected-Kernel: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:80073 Archived-At: In article , Eli Zaretskii writes: > > \223 and \224 are code points of cp125X for LEFT DOUBLE > > QUOTATION MARK and RIGHT DOUBLE QUOTATION MARK. Their > > Unicode code points are U+201C and U+201D (note that they > > are not included in ISO-8859-1). > > > > With the trunk Emacs, you must use UTF-8 (or the other > > UTF-based encodings, some of CJK encodings) to handle those > > characters. > Actually, Emacs 22.1 displays these characters just fine if I type > "C-x RET c cp1252 RET C-x C-f char_err_clip.c RET". OTOH, using UTF-8 > instead if cp1252 still displays octal escapes, like I'd expect. > AFAIK, in Emacs 22 on Windows, cp1252 and friends map these characters > into Unicode by design, and that is why using cp1252 for visiting this > file does The Right Thing. So I don't think the OP needs to wait for > the inherent Unicode support. Ah, sorry, it was my misunderstanding. You are right. Emacs 22 (and the trunk) correctly decodes them with cp1252. --- Kenichi Handa handa@m17n.org