From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: James H.Cloos Jr. Newsgroups: gmane.emacs.help Subject: Re: chinese encoded in UTF-8 and XML Date: Fri, 26 Sep 2003 10:12:25 -0400 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064585603 17987 80.91.224.253 (26 Sep 2003 14:13:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 Sep 2003 14:13:23 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 26 16:13:20 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A2tLU-0003WQ-01 for ; Fri, 26 Sep 2003 16:13:20 +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 1A2tLL-00015L-8F for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Sep 2003 10:13:11 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A2tL9-00014Y-Jn for help-gnu-emacs@gnu.org; Fri, 26 Sep 2003 10:12:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A2tL8-00014D-8l for help-gnu-emacs@gnu.org; Fri, 26 Sep 2003 10:12:58 -0400 Original-Received: from [64.240.156.239] (helo=ore.jhcloos.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 1A2tL7-00013X-O1; Fri, 26 Sep 2003 10:12:57 -0400 Original-Received: from lugabout.jhcloos.org (host-69-48-14-14.roc.choiceone.net [69.48.14.14]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "lugabout.jhcloos.org", Issuer "ca.jhcloos.com" (verified OK)) by ore.jhcloos.com (Postfix) with ESMTP id 09BA51C5DC; Fri, 26 Sep 2003 09:12:53 -0500 (CDT) Original-Received: from lugabout.jhcloos.org (localhost [127.0.0.1]) by lugabout.jhcloos.org (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id BF58325D14; Fri, 26 Sep 2003 14:12:25 +0000 (GMT) Original-To: Miles Bader In-Reply-To: (Miles Bader's message of "26 Sep 2003 13:58:22 +0900") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12820 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12820 >>>>> "Miles" == Miles Bader writes: Miles> CVS emacs supports unicode japanese fine if you do `M-x Miles> utf-translate-cjk-mode'; not sure about chinese. I just tested it and it worked flawlessly. It *might* be better, though, for utf-translate-cjk-mode to add lang tags so that it can be reversed; right now when the files are read back in they default to japanese text (at least with the mostly default options I currently have). If the runs of at least cjk text were encased on lang tags then a save/kill-buffer/open sequence could end up with the same glyphs as the input method generated. The use of plane14 tags should be transparent to anything that doesn't know them.... -JimC