From: "Zhang Wei" <id.brep@gmail.com>
To: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org, jasonr@gnu.org
Subject: Re: Emacs 22.1.90 can't save chinese-gb2312 file
Date: Fri, 1 Feb 2008 12:30:36 +0800 [thread overview]
Message-ID: <ebaf065f0801312030x70d3fb7aj96368c58cb8763c7@mail.gmail.com> (raw)
In-Reply-To: <ebaf065f0801310805w41e36305te39cbea9e5c5f0dd@mail.gmail.com>
On 2/1/08, Zhang Wei <id.brep@gmail.com> wrote:
> When I save a file in gb2312 coding system, I got the following
> compliant, all of the chinese punctuation characters can't be encoded
> with gb2312:
> ------------------------------------------------------------------------------
> These default coding systems were tried to encode text
> in the buffer `test':
> chinese-iso-8bit
> However, each of them encountered characters it couldn't encode:
> chinese-iso-8bit cannot encode these: , 。 、 ?
>
> Click on a character (or switch to this window by `C-x o'
> and select the characters by RET) to jump to the place it appears,
> where `C-u C-x =' will give information about it.
>
> Select one of the safe coding systems listed below,
> or cancel the writing with C-g and edit the buffer
> to remove or modify the problematic characters,
> or specify any other coding system (and risk losing
> the problematic characters).
>
> utf-8 utf-16 utf-16 utf-16 utf-16be utf-16le iso-2022-7bit
> --------------------------------------------------------------------------
> C-u C-x = gives:
> --------------------------------------------------------------------------
> character: 。 (302786, #o1117302, #x49ec2, U+3002)
> charset: mule-unicode-2500-33ff (Unicode characters of the range
> U+2500..U+33FF.)
> code point: #x3D #x42
> syntax: w which means: word
> buffer code: #x9C #xF2 #xBD #xC2
> file code: not encodable by coding system chinese-iso-8bit
> display: by this font (glyph code)
> -outline-Courier
> New-normal-r-normal-normal-13-97-96-96-c-*-iso10646-1 (#x3002)
>
> [back]
> --------------------------------------------------------------------------
>
This bug crept in due to the changes of w32term.c since 2007-12-12, I
think, when I revert the changes of this file, the bug is gone.
next prev parent reply other threads:[~2008-02-01 4:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-31 16:05 Emacs 22.1.90 can't save chinese-gb2312 file Zhang Wei
2008-02-01 4:30 ` Zhang Wei [this message]
2008-02-01 5:00 ` Kenichi Handa
2008-02-01 6:55 ` Zhang Wei
2008-02-01 7:09 ` Zhang Wei
2008-02-01 8:14 ` Kenichi Handa
2008-02-01 8:38 ` Zhang Wei
2008-02-01 8:46 ` Jason Rumney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ebaf065f0801312030x70d3fb7aj96368c58cb8763c7@mail.gmail.com \
--to=id.brep@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=emacs-pretest-bug@gnu.org \
--cc=jasonr@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).