Hi Rui,
Thanks, I tried out your patch to the current CVS source and it works. I've
modified utf8.cpp and utf8.h and output.cpp to add big5 support. But still has
little problem is that sablotron insists outputing meta tag with charset UTF-8,
have disabled it for the moment for our use (don't know whether is my problem
or sabltron's).
It run much faster than the java xslt processor we are currently testing.
Thanks,
Steven
Quoting Rui Hirokawa <[EMAIL PROTECTED]>:
> Steven,
>
> I migrated the general input encoding handling function from
> Perl's XML Parser module.
>
> I already send this patch to this list in 20/Aug.
> It is made for the cvs version of sablotron but it still works with
> Sablotron 0.43.
>
> To handle the big-5 source encoding with this patch, you should prepare
> the big-5 encoding map, because this patch has the maps for some latin
> encodings and some japanese encodings only.
>
> The output encoding implementation of sablotron is using iconv,
> but this patch is using the another encoding maps.
> This implemention is verbose ,so I have a plan to implement the input
> encoding handling capability using iconv.
>
> On 7 Sep 2000 11:14:41 +0800
> [EMAIL PROTECTED] wrote:
>
> php1> Hi,
> php1>
> php1> Is there any easy way to use a big5 encoded XML and with xslt
> encoding with
> php1> big5 in Sablotron?
> php1>
> php1> I've try some java xslt processor but way too slow.
> php1>
> php1> Regards,
> php1>
> php1> Steven
> php1>
> php1> -------------------------------------------------
> php1> This mail sent through IMP: pc245.das.com.hk
> php1>
>
> ----------------------------------------------------------------
> Rui Hirokawa <[EMAIL PROTECTED]>
> maintainer of the japanese PHP manual <[EMAIL PROTECTED]>
> http://www.cityfujisawa.ne.jp/%7Elouis/
>
>
-------------------------------------------------
This mail sent through IMP: pc245.das.com.hk