[Expat-discuss] Converting UT8 to Latin-1

Axel Kittenberger Axel.Kittenberger@maxxio.com
Tue Apr 9 06:48:12 2002


> No, it doesn't, and it probably shouldn't.  There's nothing about the
> conversion that's specific to Expat.

Oh, I just switched from libxml to expat, and adapted our software to it, 
because of the far smaller memory footprint. (BTW: _please_ keep a small 
memory footprint an important consideration for expat, 250K difference is a 
lot in an embedded world)

Libxml2 could convert UTF8 to Latin, so I just thought it would do also, but 
doesn't matter and it's even good that way, as missing it keeps expat  
it's smaller footprint :o)

I found the function iconv() of glibc fit's my needs well, and as we've glibc 
eitherway it doesn't add much extra size, just 30k extra for 
/usr/lib/gconv/ISO8859-1.so the approperiate glibc's gconv module.