From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Fwd: 23.0.50; can't input chinese punctuation on w32 platform Date: Sat, 26 Jan 2008 15:04:03 +0000 Message-ID: <479B4BE3.2000204@gnu.org> References: <42b562540801260432h43921157k7d4034ddfff28862@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201359875 4534 80.91.229.12 (26 Jan 2008 15:04:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jan 2008 15:04:35 +0000 (UTC) Cc: yu jie To: "emacs-pretest-bug@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 26 16:04:55 2008 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 1JImaT-0000rL-K6 for ged-emacs-devel@m.gmane.org; Sat, 26 Jan 2008 16:04:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIma3-0004fo-5A for ged-emacs-devel@m.gmane.org; Sat, 26 Jan 2008 10:04:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JImZz-0004eO-Bw for emacs-devel@gnu.org; Sat, 26 Jan 2008 10:04:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JImZx-0004dC-OV for emacs-devel@gnu.org; Sat, 26 Jan 2008 10:04:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JImZx-0004d9-Fa for emacs-devel@gnu.org; Sat, 26 Jan 2008 10:04:21 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JImZx-0005nC-Dv for emacs-devel@gnu.org; Sat, 26 Jan 2008 10:04:21 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JImZw-0000ev-On for emacs-pretest-bug@gnu.org; Sat, 26 Jan 2008 10:04:20 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JImZu-0005mY-2F for emacs-pretest-bug@gnu.org; Sat, 26 Jan 2008 10:04:21 -0500 Original-Received: from mk-outboundfilter-4.mail.uk.tiscali.com ([212.74.114.32]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JImZt-0005mI-OQ for emacs-pretest-bug@gnu.org; Sat, 26 Jan 2008 10:04:17 -0500 Original-X-Trace: 18099010/mk-outboundfilter-2.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAALTamkdTQxds/2dsb2JhbAAIrFE X-IP-Direction: OUT Original-Received: from i-83-67-23-108.freedom2surf.net (HELO [127.0.0.1]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 26 Jan 2008 15:04:16 +0000 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <42b562540801260432h43921157k7d4034ddfff28862@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:87576 gmane.emacs.pretest.bugs:20767 Archived-At: This seems to be a problem with mule-unicode-2500-33ff to gb2312 encoding. I doubt it is limited to w32. yu jie wrote: > Hi, > I met a new Chinese related issue. When I try to save a buffer with > Chinese period: 。, I meet a error message: gb2312-dos cannot encode > these: 。I change the coding system to utf8, save the buffer and call > revert-buffer, then set buffer encoding back to GB2312, and now I > could save the buffer. The glyphs of the two period is different. > Here's output of describe-char: > > 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 gb2312-dos > display: by this font (glyph code) > -outline-Consolas-normal-r-normal-normal-14-105-96-96-c-*-iso10646-1 > (#x3002) > > character: 。 (37027, #o110243, #x90a3, U+3002) > charset: chinese-gb2312 (GB2312 Chinese simplified: ISO-IR-58.) > code point: #x21 #x23 > syntax: . which means: punctuation > category: c:Chinese |:While filling, we can break a line at this > character. > buffer code: #x91 #xA1 #xA3 > file code: #xA1 #xA3 (encoded by coding system gb2312-dos) > display: by this font (glyph code) > -outline-MS YaHei-normal-r-normal-normal-16-120-96-96-p-*-iso10646-1 > (#x3002) > > Thanks. >