From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: utf-8 cjk translation bug? Date: 30 Sep 2003 17:30:25 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: Miles Bader NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=euc-jp Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1064910837 12744 80.91.224.253 (30 Sep 2003 08:33:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Sep 2003 08:33:57 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Sep 30 10:33:56 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4FxE-0005Dx-00 for ; Tue, 30 Sep 2003 10:33:56 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4FxD-0005DV-00 for ; Tue, 30 Sep 2003 10:33:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A4Fw3-0005qW-FE for emacs-devel@quimby.gnus.org; Tue, 30 Sep 2003 04:32:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A4Fvk-0005qH-2G for emacs-devel@gnu.org; Tue, 30 Sep 2003 04:32:24 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A4FvD-0005hk-0f for emacs-devel@gnu.org; Tue, 30 Sep 2003 04:32:22 -0400 Original-Received: from [202.32.8.214] (helo=TYO201.gate.nec.co.jp) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A4Fu8-0005Si-7F; Tue, 30 Sep 2003 04:30:44 -0400 Original-Received: from mailgate3.nec.co.jp (mailgate53.nec.co.jp [10.7.69.194]) by TYO201.gate.nec.co.jp (8.11.7/3.7W01080315) with ESMTP id h8U8Ueg06812; Tue, 30 Sep 2003 17:30:40 +0900 (JST) Original-Received: from mailsv.nec.co.jp (mailgate52.nec.co.jp [10.7.69.198]) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) with ESMTP id h8U8Udf18199; Tue, 30 Sep 2003 17:30:39 +0900 (JST) Original-Received: from edsgm01.lsi.nec.co.jp ([10.50.208.11]) by mailsv.nec.co.jp (8.11.7/3.7W-MAILSV-NEC) with ESMTP id h8U8UcA18189; Tue, 30 Sep 2003 17:30:38 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) by edsgm01.lsi.nec.co.jp (8.9.3p2+3.2W/3.7W_EDC_Ver.1.0) with ESMTP id RAA26271; Tue, 30 Sep 2003 17:30:29 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.12.10/8.12.8/EDcg v2.01-mc/1046780839) with ESMTP id h8U8UPRm009993; Tue, 30 Sep 2003 17:30:25 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id AE41B372A; Tue, 30 Sep 2003 17:30:25 +0900 (JST) Original-To: emacs-devel@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop Original-Lines: 26 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16786 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16786 I have `utf-translate-cjk-mode' enabled. I have the following string in a buffer: =A3=CE=A3=C5=A3=C3=A5=A8=A5=EC=A5=AF=A5=C8=A5=ED=A5=CB=A5=AF=A5=B9(= =B3=F4) If I write it using say `euc-jp' coding system, no problem. According to `C-u C-x =3D', all the japanese characters are in the charset japanese-jisx0208. However, if I save it using utf-8, I get no complaints, but when I read it back in, the first 3 characters show up as little boxes. `C-u C-x =3D' shows the boxes as being in charset mule-unicode-e000-ffff; the rest of the characters are still listed as being in japanese-jisx0208. I presume this is representable utf-8, because unicode is supposed to be able to represent all characters in any component character set simultaneously, so it would seem to be a bug in utf-translate-cjk-mode. Any ideas? Thanks, -Miles --=20 Is it true that nothing can be known? If so how do we know this? -Woody A= llen