From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Possible UTF-8 CJK Regressions in Terminal Emulators Date: Mon, 14 Jun 2004 10:05:21 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200406140105.KAA22432@etlken.m17n.org> References: <200406071227.VAA06216@etlken.m17n.org> <200406120241.LAA18236@etlken.m17n.org> <20040612154533.152E.LEKTU@mi.madritel.es> <200406130842.RAA20877@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1087175155 6118 80.91.224.253 (14 Jun 2004 01:05:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Jun 2004 01:05:55 +0000 (UTC) Cc: lektu@mi.madritel.es, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jun 14 03:05:45 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BZfuz-0005mo-00 for ; Mon, 14 Jun 2004 03:05:45 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BZfuz-0003Bv-00 for ; Mon, 14 Jun 2004 03:05:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BZfvq-000053-Vv for emacs-devel@quimby.gnus.org; Sun, 13 Jun 2004 21:06:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BZfvo-0008WU-G3 for emacs-devel@gnu.org; Sun, 13 Jun 2004 21:06:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BZfvm-0008WH-HD for emacs-devel@gnu.org; Sun, 13 Jun 2004 21:06:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BZfvm-0008WE-9J for emacs-devel@gnu.org; Sun, 13 Jun 2004 21:06:34 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BZfuo-0001h6-Uw for emacs-devel@gnu.org; Sun, 13 Jun 2004 21:05:35 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/8.11.6) with ESMTP id i5E15LQ21692; Mon, 14 Jun 2004 10:05:21 +0900 (JST) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6p2/8.11.6) with ESMTP id i5E15LW02300; Mon, 14 Jun 2004 10:05:21 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id KAA22432; Mon, 14 Jun 2004 10:05:21 +0900 (JST) Original-To: schwab@suse.de In-reply-to: (message from Andreas Schwab on Sun, 13 Jun 2004 15:18:22 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 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:24942 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24942 In article , Andreas Schwab writes: > Kenichi Handa writes: > > It seems that my recent change caused this bug, but I can't > > reproduce it. At which bootstrapping stage, does the above > > happen? Before byte-compiling or after byte-compiling? > It happens before byte-compiling, try removing all *.elc files first. Thank you for the info. I found what was wrong and fixed it. Please try the latest code. The reason of the bug was that when cyrillic.el (not cyrillic.elc) was loaded, code-pages.el was also loaded. But, some characters (incorrect mapping) in this file caused loading subst-ksc.el which is encoded by euc-kr which is defined in not-yet-loaded korean.el. I fixed that incorrect mapping. > utf-translate-cjk-load-tables probably shouldn't load the tables during > dumping. Yes, but modifying utf-translate-cjk-load-tables not to load the tables will just hide such bugs as above. In general, preloaded files encoded in utf-8 should not contain a Unicode character that will be translated in utf-translate-cjk-mode because such a character may cause incorrect behaviour when utf-translate-cjk-mode is turned off. --- Ken'ichi HANDA handa@m17n.org