[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can not decode 0x93 and 0x94 to correct char
From: |
Kenichi Handa |
Subject: |
Re: can not decode 0x93 and 0x94 to correct char |
Date: |
Mon, 01 Oct 2007 10:33:29 +0900 |
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) |
In article <address@hidden>, Eli Zaretskii <address@hidden> 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
address@hidden