From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Baurjan Ismagulov Newsgroups: gmane.emacs.devel Subject: Re: adding a new encoding Date: Mon, 21 Jun 2004 22:06:33 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040621200633.GF1361@ata.cs.hun.edu.tr> References: <20040619150301.GC3467@ata.cs.hun.edu.tr> <20040620163514.GA3576@ata.cs.hun.edu.tr> <200406202318.IAA09165@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1087848361 8398 80.91.224.253 (21 Jun 2004 20:06:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Jun 2004 20:06:01 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jun 21 22:05:48 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 1BcV36-0005Zq-00 for ; Mon, 21 Jun 2004 22:05:48 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BcV35-0007Gq-00 for ; Mon, 21 Jun 2004 22:05:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BcV4L-0003F6-Qr for emacs-devel@quimby.gnus.org; Mon, 21 Jun 2004 16:07:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BcV4F-0003El-Ag for emacs-devel@gnu.org; Mon, 21 Jun 2004 16:06:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BcV4D-0003EL-GN for emacs-devel@gnu.org; Mon, 21 Jun 2004 16:06:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BcV4D-0003EI-CE for emacs-devel@gnu.org; Mon, 21 Jun 2004 16:06:57 -0400 Original-Received: from [82.83.215.188] (helo=burundai.radix50.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BcV2a-0002s9-H0 for emacs-devel@gnu.org; Mon, 21 Jun 2004 16:05:17 -0400 Original-Received: from burundai.radix50.net (localhost [127.0.0.1]) by burundai.radix50.net (8.12.3/8.12.3/Debian -4) with ESMTP id i5LK6X2h003216 for ; Mon, 21 Jun 2004 22:06:33 +0200 Original-Received: (from ibr@localhost) by burundai.radix50.net (8.12.3/8.12.3/Debian -4) id i5LK6Xwl003215 for emacs-devel@gnu.org; Mon, 21 Jun 2004 22:06:33 +0200 Original-To: emacs-devel@gnu.org Mail-Followup-To: emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <200406202318.IAA09165@etlken.m17n.org> User-Agent: Mutt/1.5.6i 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:25160 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25160 Hello, Kenichi! Thanks for your reply! On Mon, Jun 21, 2004 at 08:18:17AM +0900, Kenichi Handa wrote: > The latest (CVS) Emacs already supports that encoding. > Please try (require 'code-pages) in your .emacs. Thanks for the tip, I'll try the cvs version (I was looking into Debian unstable source). > > * Emacs uses ISO 2022 internally. > Not correct. Emacs uses character codes of each ISO-2022 > conforming charsets. And each character is prepended with a charset code? How do raw bytes look like in Emacs memory for, say, \U+0410\U+00DF\U+0534? Is there an easy way to see that (princ somewhere in lisp/international/mule-cmds.el)? With kind regards, Baurjan.