Tom,
On Sat, 03 Feb 2001 21:47:40 +0100
Tom Kaiser <[EMAIL PROTECTED]> wrote:
> Rui,
>
> > and byte-length map should be added to support multibyte encoding.
>
> Do you mean that in order for expat to recognize an encoding of an input
> document, one has to supply the table that tells expat the length of the
> multibyte code for each leading byte in this encoding?
Yes, the length is needed for multi-byte encoding support
if we use current version of expat.
>
> Thinking of this, it should not be too hard to write a small program to
> generate such a table for any given Unicode definition file of an
> encoding, as at
>
> http://www.unicode.org/Public/MAPPINGS/
Yes, adding new encoding support is quite easy task.
--
----------------------------------------------------------
Rui Hirokawa <[EMAIL PROTECTED]>
maintainer of japanese PHP manual <[EMAIL PROTECTED]>