[OSM-dev] XML parsing, expat and UTF8

Nick Whitelegg nick at hogweed.org
Sat Dec 23 14:00:03 GMT 2006


Have been looking round for the best XML parsing library to use to develop a C 
or C++ SAX API for parsing OSM data, and it seems the best is probably the 
expat library - it seems more lightweight and easier to use than libxml.

The expat documentation says it supports UTF8. ISTR that is the encoding which 
OSM is using, so using expat will be safe to parse OSM data containing 
non-English languages. Is this correct?

Thanks,
Nick




More information about the dev mailing list