unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
Subject: Re: adding a new encoding
Date: Sun, 20 Jun 2004 18:35:14 +0200	[thread overview]
Message-ID: <20040620163514.GA3576@ata.cs.hun.edu.tr> (raw)
In-Reply-To: <20040619150301.GC3467@ata.cs.hun.edu.tr>

[-- Attachment #1: mutt4EvYRt --]
[-- Type: text/plain, Size: 1008 bytes --]

Hello,

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


Thanks in advance,
Baurjan.

  reply	other threads:[~2004-06-20 16:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-19 15:03 adding a new encoding Baurjan Ismagulov
2004-06-20 16:35 ` Baurjan Ismagulov [this message]
2004-06-20 23:18   ` Kenichi Handa
2004-06-21 20:06     ` Baurjan Ismagulov
2004-06-21 23:44       ` Kenichi Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040620163514.GA3576@ata.cs.hun.edu.tr \
    --to=ibr@ata.cs.hun.edu.tr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).