[topicmapmail] Web Services
Lars Marius Garshol
larsga@ontopia.net
16 Jan 2004 15:00:37 +0100
* Jan Algermissen
|
| Puh...good point. But don;t XML parser use a preferred encoding
| internally anyway (expat does)....but I guess in Java you'll get
| Strings with different encodings all over - yes?
The charset parameter in the content-type is there to tell the parser
what the transfer encoding is. Without that knowledge there is no way
to parse an XML document correctly. The internal encoding used by the
parser is entirely up to the parser and really nobody else's business.
(Though it ought to support all of Unicode.)
--
Lars Marius Garshol, Ontopian <URL: http://www.ontopia.net >
GSM: +47 98 21 55 50 <URL: http://www.garshol.priv.no >