Re: expat and encodings

James Clark (jjc@jclark.com)
Tue, 15 Dec 1998 17:49:16 +0700


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