[Expat-discuss] Character conversion from Ansi and Latin 1 to UTF-8

Josh Martin Josh.Martin@abq.sc.philips.com
Wed Aug 21 15:35:05 2002


> Hi,
> 
> Could anyone please refer me to the function(s) in Expat that actually 
converts from the Latin1 and Ansi character set to UTF-8?  I need to convert 
documents to UTF-8 and XML and would just like to see code examples of that kind 
of conversion to ensure that my own understanding is correct. Help will be 
appreciated.
> 
> Louw

The GNU libiconv is a C conversion library which you can use to convert one 
encoding into another.  You can find out more information about this useful 
package at http://www.gnu.org/software/libiconv/
I hope this helps.

 - Josh Martin