* Re: emacs-unicode-2: every line begin with #xd7 and #xf7 becomes gibberish [not found] ` <E1GdHb4-0001ri-00@etlken> @ 2006-10-27 4:50 ` Zhang Wei 2006-10-27 8:14 ` Kenichi Handa 0 siblings, 1 reply; 3+ messages in thread From: Zhang Wei @ 2006-10-27 4:50 UTC (permalink / raw) [-- Attachment #1: Type: text/plain, Size: 754 bytes --] Kenichi Handa <handa@m17n.org> writes: > In article <uwt6n2gf6.fsf@mails.tsinghua.edu.cn>, Zhang Wei <id.brep@gmail.com> writes: > >> If a line begin with ×(unicode code point #xd7) and ÷(unicode code point >> #xf7) and then several chinese characters, this line will becomes >> gibberish after `C-l'(recenter). But there's no problem if these two >> characters are in the middle of a line. > > I can't reproduce it. How "gibberish" it is? If it can't > be described by words, please attach an image file. And how > did you start Emacs? Does it happen when you run Emacs with > "-Q"? Sorry, this problem is windows specific, and it happens with "Emacs -Q", I'm always forget what OS I'm using. Before `C-l' it looks like this: [-- Attachment #2: before.png --] [-- Type: image/png, Size: 7400 bytes --] [-- Attachment #3: Type: text/plain, Size: 31 bytes --] and, after `C-l' it becomes: [-- Attachment #4: after.png --] [-- Type: image/png, Size: 7346 bytes --] [-- Attachment #5: Type: text/plain, Size: 99 bytes --] Even worse when there's some other chinese characters after them, but I can't reproduce it now. [-- Attachment #6: Type: text/plain, Size: 142 bytes --] _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: emacs-unicode-2: every line begin with #xd7 and #xf7 becomes gibberish 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 0 siblings, 1 reply; 3+ messages in thread From: Kenichi Handa @ 2006-10-27 8:14 UTC (permalink / raw) Cc: emacs-devel [-- Attachment #1: Type: text/plain, Size: 736 bytes --] In article <873b9a9xas.fsf@emacsfans.org>, Zhang Wei <id.brep@gmail.com> writes: > Sorry, this problem is windows specific, and it happens with "Emacs > -Q", I'm always forget what OS I'm using. I've just tried emacs (cygwin) on Windows, but still can't reproduce it. > Before `C-l' it looks like this: > [2 before.png <image/png (base64)>] > [3 <text/plain (7bit)>] > and, after `C-l' it becomes: > [4 after.png <image/png (base64)>] What is shown when you move cursor to the beginning of line (on "作") and type C-u C-x =? By the way, I think it's not coincident that GB2312 code for "作" is "\xd7\xf7". (decode-coding-string "\xd7\xf7" 'gb2312) => "作" --- Kenichi Handa handa@m17n.org [-- Attachment #2: Type: text/plain, Size: 142 bytes --] _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: emacs-unicode-2: every line begin with #xd7 and #xf7 becomes gibberish 2006-10-27 8:14 ` Kenichi Handa @ 2006-10-27 8:47 ` Zhang Wei 0 siblings, 0 replies; 3+ messages in thread From: Zhang Wei @ 2006-10-27 8:47 UTC (permalink / raw) [-- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-27 8:47 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [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
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.