[Top][All Lists]

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

Re: adding a new encoding

From: Baurjan Ismagulov
Subject: Re: adding a new encoding
Date: Sun, 20 Jun 2004 18:35:14 +0200
User-agent: Mutt/1.5.6i


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

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

* Emacs uses ISO 2022 internally.

* Supported Cyrillic encodings map to ISO 8859-5.

* 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.

* One possible solution would be to define-charset cyrillic-asian.
  However, the number of characters in a new charset is limited to 94 or
  96, and there are 108 non-us-ascii letters in PT154.

So, the questions:

* Can I define cyrillic-asian with 36 characters and use it together
  with us-ascii and cyrillic-iso8859-5, or should I define
  cyrillic-asian-1 and cyrillic-asian-2, duplicating 2x(33+3) chars
  already present in cyrillic-iso8859-5?

* What to do with the final char? These charsets are not registered in

Thanks in advance,

reply via email to

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