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: Re: utf-8 cjk translation bug? Date: 30 Sep 2003 19:05:07 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <3F7951CD.5050401@gnu.org> Reply-To: Miles Bader NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064916674 22653 80.91.224.253 (30 Sep 2003 10:11:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Sep 2003 10:11:14 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Sep 30 12:11:12 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 1A4HTM-0001ZO-00 for ; Tue, 30 Sep 2003 12:11:12 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4HTM-0005Yb-00 for ; Tue, 30 Sep 2003 12:11:12 +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 1A4HPx-0007DS-TR for emacs-devel@quimby.gnus.org; Tue, 30 Sep 2003 06:07:41 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A4HP9-00075O-GA for emacs-devel@gnu.org; Tue, 30 Sep 2003 06:06:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A4HOc-0006vO-Lh for emacs-devel@gnu.org; Tue, 30 Sep 2003 06:06:45 -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 1A4HNZ-0006gf-Ej; Tue, 30 Sep 2003 06:05:13 -0400 Original-Received: from mailgate3.nec.co.jp (mailgate53.nec.co.jp [10.7.69.192]) by TYO201.gate.nec.co.jp (8.11.7/3.7W01080315) with ESMTP id h8UA5Ag13807; Tue, 30 Sep 2003 19:05:10 +0900 (JST) Original-Received: from mailsv.nec.co.jp (mailgate51.nec.co.jp [10.7.69.196]) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) with ESMTP id h8UA59a29623; Tue, 30 Sep 2003 19:05:09 +0900 (JST) Original-Received: from edsgm02.lsi.nec.co.jp ([10.50.208.12]) by mailsv.nec.co.jp (8.11.7/3.7W-MAILSV-NEC) with ESMTP id h8UA59A16700; Tue, 30 Sep 2003 19:05:09 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) by edsgm02.lsi.nec.co.jp (8.9.3p2+3.2W/3.7W_EDC_Ver.1.0) with ESMTP id TAA12791; Tue, 30 Sep 2003 19:05:08 +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 h8UA58Rm010160; Tue, 30 Sep 2003 19:05:08 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 075D0372A; Tue, 30 Sep 2003 19:05:08 +0900 (JST) Original-To: Jason Rumney System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <3F7951CD.5050401@gnu.org> Original-Lines: 20 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:16788 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16788 Jason Rumney writes: > > `C-u C-x =' 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 guess you would need a unicode font that includes double-width roman > characters. Or frob utf-translate-cjk-mode to ignore the fact that those > characters are within the representable range of unicode characters and > convert them to jisx0208 anyway. Why would that be necessary? The purpose of utf-translate-cjk-mode is to translate external unicode encodings to/from emacs charsets. For instance, after reading the utf-8 file, the katakana characters in the example I gave are represented in emacs using japanese-jisx0208, and displayed using a JISX0208.1983 encoded font. I don't think unicode fonts come into play at all. -Miles -- Yo mama's so fat when she gets on an elevator it HAS to go down.