unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: schwab@suse.de, emacs-devel@gnu.org,
	mituharu@math.s.chiba-u.ac.jp, jasonr@gnu.org
Subject: Re: UCS-2BE
Date: Sat, 02 Sep 2006 10:27:24 +0900	[thread overview]
Message-ID: <E1GJKI8-0000Bc-00@etlken> (raw)
In-Reply-To: <87fyfb6uy5.fsf@jurta.org> (message from Juri Linkov on Sat, 02 Sep 2006 02:45:33 +0300)

In article <87fyfb6uy5.fsf@jurta.org>, Juri Linkov <juri@jurta.org> writes:

> > It seems that UCS-2BE is not a mis-label of UTF-16BE, then,
> > it seems that treating it as a subset (not using surrogate
> > pair) of UTF-16BE (as done in iconv) is the right thing.

> I have the same understanding.

Ok.

> > I'll try to implement it (and others) in emacs-unicode-2.

> Is it reasonable to use the iconv library in Emacs (to not reimplement
> its encodings)?

We can use iconv for certain encodings, but not for all.
And, the code for handling variants of UCS/UTF is fairly
short as you see in iconv.  In addition, we anyway need data
in etc/charsets for
decode-char/encode-char/map-charset-chars functions.

So, I think it's simpler to have encoder/decoder in Emacs
itself.

---
Kenichi Handa
handa@m17n.org

  reply	other threads:[~2006-09-02  1:27 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-30 22:54 UCS-2BE Juri Linkov
2006-08-31  9:09 ` UCS-2BE Jason Rumney
2006-08-31 10:23   ` UCS-2BE Kenichi Handa
2006-08-31 10:39     ` UCS-2BE Jason Rumney
2006-08-31 10:55       ` UCS-2BE Kenichi Handa
2006-08-31 11:56         ` UCS-2BE Andreas Schwab
2006-08-31 12:16           ` UCS-2BE Kenichi Handa
2006-08-31 14:33             ` UCS-2BE Andreas Schwab
2006-08-31 22:48               ` UCS-2BE Kenichi Handa
2006-08-31 23:02                 ` UCS-2BE Andreas Schwab
2006-09-01  1:22                   ` UCS-2BE Kenichi Handa
2006-09-01  9:01                     ` UCS-2BE Andreas Schwab
2006-09-01 11:28                       ` UCS-2BE Kenichi Handa
2006-08-31 23:32             ` UCS-2BE Juri Linkov
2006-09-01  1:19               ` UCS-2BE Kenichi Handa
2006-09-01 11:30                 ` UCS-2BE YAMAMOTO Mitsuharu
2006-09-01 12:26                   ` UCS-2BE Kenichi Handa
2006-09-01 12:30                     ` UCS-2BE Andreas Schwab
2006-09-01 12:57                       ` UCS-2BE Kenichi Handa
2006-09-01 17:08                     ` UCS-2BE Stefan Monnier
2006-09-01 23:45                     ` UCS-2BE Juri Linkov
2006-09-02  1:27                       ` Kenichi Handa [this message]
     [not found] <E1GIw3v-00059X-TI@monty-python.gnu.org>
2006-08-31 23:36 ` UCS-2BE Jonathan Yavner

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=E1GJKI8-0000Bc-00@etlken \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    --cc=schwab@suse.de \
    /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).