From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel,gmane.mail.mew.general Subject: Re: [mew-int 01590] Re: windows 1252 Date: Wed, 05 Nov 2003 03:45:49 +0900 Organization: The XEmacs Project Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <878ymwrmzm.fsf@tleepslib.sk.tsukuba.ac.jp> References: <87llqzuvaj.fsf@tleepslib.sk.tsukuba.ac.jp> <20031104.111334.60445673.kazu@iijlab.net> <20031105.005502.58143677.kazu@iijlab.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Trace: sea.gmane.org 1067972105 25399 80.91.224.253 (4 Nov 2003 18:55:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2003 18:55:05 +0000 (UTC) Cc: mew-int@mew.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Nov 04 19:55:02 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 1AH6KU-000165-00 for ; Tue, 04 Nov 2003 19:55:02 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AH6KU-0006B4-00 for ; Tue, 04 Nov 2003 19:55:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AH6Fr-00048O-IM for emacs-devel@quimby.gnus.org; Tue, 04 Nov 2003 13:50:15 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AH6Em-0002sJ-Gb for emacs-devel@gnu.org; Tue, 04 Nov 2003 13:49:08 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AH6CJ-0000yF-R3 for emacs-devel@gnu.org; Tue, 04 Nov 2003 13:47:07 -0500 Original-Received: from [130.158.98.109] (helo=tleepslib.sk.tsukuba.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AH6Br-0000b8-Q5 for emacs-devel@gnu.org; Tue, 04 Nov 2003 13:46:08 -0500 Original-Received: from steve by tleepslib.sk.tsukuba.ac.jp with local (Exim 3.36 #1 (Debian)) id 1AH6BZ-0002Uj-00; Wed, 05 Nov 2003 03:45:49 +0900 Original-To: Kazu Yamamoto (~~~~) In-Reply-To: <20031105.005502.58143677.kazu@iijlab.net> (Kazu Yamamoto's message of "Wed, 05 Nov 2003 00:55:02 +0900 (JST)") User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (celeriac, linux) 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:17688 gmane.mail.mew.general:518 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17688 >>>>> "Kazu" == Kazu Yamamoto <(山本和彦) > writes: >> It's unfortunate, but I guess it makes sense. It should be >> possible to make ctext-with-extensions work for your case. Kazu> To support a new character set in ctext, we only need to Kazu> register a new escape sequence. You don't even need to do that with an extended segment. The Windows-125x sets are all IANA-registered, which should be enough for global uniqueness. To represent the text, you just use the name of the character set: ESC % / 1 Windows-1252 STX ... where and encode the length of the segment and ESC and STX are the ASCII control characters 0x1B and 0x02. Kazu> As I said, I don't know windows-1252 well and I don't know Kazu> the current ctext can encode all windows-1252 characters. ctext can, because in the extended segment the characters will be represented as themselves. Whether Mule can or not is a different story. However, I'm fairly sure that all of the characters that Windows 125x put into the C1 space are encodable by Mule. See http://www.microsoft.com/globaldev/reference/sbcs/1252.htm for example. -- Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can "do" free software business; ask what your business can "do for" free software.