[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding a new encoding

From: Kenichi Handa
Subject: Re: adding a new encoding
Date: Mon, 21 Jun 2004 08:18:17 +0900 (JST)
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)

In article <address@hidden>, Baurjan Ismagulov <address@hidden> writes:

> On Sat, Jun 19, 2004 at 05:03:01PM +0200, Baurjan Ismagulov wrote:
> > I want to use Emacs to edit text in PT154 encoding.

The latest (CVS) Emacs already supports that encoding.
Please try (require 'code-pages) in your .emacs.

> Here's what I've understood (please correct me if anything is wrong):

> * Emacs uses ISO 2022 internally.

Not correct.  Emacs uses character codes of each ISO-2022
conforming charsets.

> * Supported Cyrillic encodings map to ISO 8859-5.

Not always.  For instance, windows-1251 maps to

> * PT154 (http://www.iana.org/assignments/charset-reg/PTCP154) cannot be
>   mapped to ISO 8859-5 due to at least 2x18 characters not present in
>   the latter.

Yes, thus the latest Emacs supports it by mapping to

Ken'ichi HANDA

reply via email to

[Prev in Thread] Current Thread [Next in Thread]