----- Original Message ----- From: "Yates, Danny (ANTS)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 22, 2002 12:42 AM Subject: RE: UTF-16 with Axis
> Aaah! That makes a difference of course. > > But does Axis serialise its XML using a parser? Or else does > Axis do its own serialisation using String/StringBuffer? If the > former then I guess it's either a bug in the parser (still!) or > else a bug in the way Axis is configuring or using the parser. > However, I still can't imagine a (non-bug) scenario in which > you can configure the parser to produce UTF-16 without it saying > that's what it's doing! In places Axis just sticks stuff on the wire itself without building a DOM; so where somebody forgets to specify the encoding in a <?xml ?> prolog recipients assume UTF8, and if they also forget to specify the encoding of the output writer Java assumes the local locale, so bad things happen,..