[Expat-discuss] Expat on 64 bit Linux

Jeremy Kloth jeremy.kloth at gmail.com
Fri Feb 5 15:28:04 CET 2010


On Friday 05 February 2010 06:16:23 am Karl Waclawek wrote:
> The second one requires wchar_t to be 16bit wide, so that UTF-16 can be
> generated. Expat does not support UTF-32 output.

Is there an interest having Expat able to produce UCS-4/UTF-32? 4Suite and now 
Amara 2 use a patched Expat that can produce 32-bit Unicode values. It has 
been in use for quite some time now (as in many years) without issue.

It was done to allow Expat output to be mapped directly to Python's unicode 
objects (which can be either UCS-2 or UCS-4).

If desired, I can produce the patches required to add that support to the 
Expat mainline.

-- 
Jeremy Kloth
http://4suite.org


More information about the Expat-discuss mailing list