unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Zhang Wei <id.brep@gmail.com>
Subject: Re: emacs-unicode-2: every line begin with #xd7 and #xf7	becomes	gibberish
Date: Fri, 27 Oct 2006 16:47:33 +0800	[thread overview]
Message-ID: <u8xj29mca.fsf@mails.tsinghua.edu.cn> (raw)
In-Reply-To: <E1GdMr7-00060q-00@etlken> (Kenichi Handa's message of "Fri\, 27 Oct 2006 17\:14\:21 +0900")

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

Kenichi Handa <handa@m17n.org> writes:

> I've just tried emacs (cygwin) on Windows, but still can't
> reproduce it.

My Emacs is a mingw bulid version.
GNU Emacs 23.0.0.1 (i386-mingw-nt5.1.2600) of 2006-10-23 on THU-2B8051EF1B3

> What is shown when you move cursor to the beginning of line
> (on "作") and type C-u C-x =?

When I move cursor to the beginning of line, only half of the "作"
character is shown, like this:


[-- Attachment #2: half1.png --]
[-- Type: image/png, Size: 8440 bytes --]

[-- Attachment #3: Type: text/plain, Size: 12 bytes --]


and this:


[-- Attachment #4: half2.png --]
[-- Type: image/png, Size: 8408 bytes --]

[-- Attachment #5: Type: text/plain, Size: 1901 bytes --]


If I put the cursor on the left side of "作", and type C-u C-x =, it gives:

--8<---------------cut here---------------start------------->8---
        character: × (215, #o327, #xd7)
preferred charset: chinese-gb2312 (GB2312 Chinese simplified: ISO-IR-58)
       code point: 0x2141
           syntax: _ 	which means: symbol
         category: c:Chinese h:Korean j:Japanese l:Latin
      buffer code: #xC3 #x97
        file code: #xA1 #xC1 (encoded by coding system chinese-iso-8bit-unix)
          display: by this font (glyph code)
     -outline-Courier New-normal-r-normal-normal-13-97-96-96-c-*-iso8859-1 (#xD7)

Character code properties are not shown: customize what to show

There are text properties here:
  auto-composed        t
  fontified            t
--8<---------------cut here---------------end--------------->8---

and put the cursor on the right side of "作", and type C-u C-x =, it gives:

--8<---------------cut here---------------start------------->8---
        character: ÷ (247, #o367, #xf7)
preferred charset: chinese-gb2312 (GB2312 Chinese simplified: ISO-IR-58)
       code point: 0x2142
           syntax: _ 	which means: symbol
         category: c:Chinese h:Korean j:Japanese l:Latin
      buffer code: #xC3 #xB7
        file code: #xA1 #xC2 (encoded by coding system chinese-iso-8bit-unix)
          display: by this font (glyph code)
     -outline-Courier New-normal-r-normal-normal-13-97-96-96-c-*-iso8859-1 (#xF7)

Character code properties are not shown: customize what to show

There are text properties here:
  auto-composed        t
  fontified            t
--8<---------------cut here---------------end--------------->8---

> By the way, I think it's not coincident that GB2312 code for
> "作" is "\xd7\xf7".
>
> (decode-coding-string "\xd7\xf7" 'gb2312) => "作"

Oh, may be that why "作" is displayed there. 

[-- Attachment #6: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

      reply	other threads:[~2006-10-27  8:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <uwt6n2gf6.fsf@mails.tsinghua.edu.cn>
     [not found] ` <E1GdHb4-0001ri-00@etlken>
2006-10-27  4:50   ` emacs-unicode-2: every line begin with #xd7 and #xf7 becomes gibberish Zhang Wei
2006-10-27  8:14     ` Kenichi Handa
2006-10-27  8:47       ` Zhang Wei [this message]

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=u8xj29mca.fsf@mails.tsinghua.edu.cn \
    --to=id.brep@gmail.com \
    /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).