expat and encodings

James Clark jjc at jclark.com
Tue Dec 15 11:28:26 GMT 1998


Steve Kearon wrote:

> Is my understanding correct - does expat feed UTF-8 text to clients when
> parsing?

Yes.

> Can expat be asked to feed clients iso-8859-1?

No.

> If the client must convert manually, are there any helper functions in
> expat/xmltok?

Not for converting to iso-8859-1.

> If I use the unicode build of expat, does it feed utf-8, unicode or utf-16?

It feeds UTF-16 (the same as Unicode 2).

James


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list