[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UCS-2BE
From: |
Kenichi Handa |
Subject: |
Re: UCS-2BE |
Date: |
Sat, 02 Sep 2006 10:27:24 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Juri Linkov <address@hidden> 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
address@hidden