You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Linda Lu <li...@yahoo.com> on 2003/03/17 08:12:56 UTC

why enforce UTF-8 on wire?

In document "Web Services Internationalization
Usage Scenarios" at
http://www.w3.org/TR/2002/WD-ws-i18n-scenarios-20021220/
states that: 

"using UTF-8 or UTF-16 guarantees character encoding
interoperability on the SOAP layer"

But the TransportMessage.save() class in Apache SOAP
is using SOAPContext.setRootPart(String envelope,
String contenttype) which automically convert the
string in to UTF-8, (contentType is being ignored)
Is there any particular reason for restricting non
UTF-8 encoding here?

I'm a beginner so hope I'm making sense here.

Linda 




__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com