How to change encoding from UTF-8 to UTF-16

 

How to change encoding from UTF-8 to UTF-16

Support for Universal Transformation Format (UTF)-16 encoding is required by the WS-I Basic Profile 1.0. WebSphere Application Server conforms to the WS-I Basic Profile 1.1. UTF-16 is a kind of unicode encoding scheme using 16-bit values to store Universal Character Set (UCS) characters. UTF-8 is the most common encoding that is used on the Internet and UTF-16 encoding is typically used for Java and Windows product applications.

To learn more about the requirements of the Web Services-Interoperability Basic Profile (WS-I), including UTF-16, see Web Services-Interoperability Basic Profile.

Support for UTF-16 encoding is required by WS-I Basic Profile; therefore, you need to know how to modify your character encoding from UTF-8 to UTF-16 in your SOAP message. You can change the character encoding in one of two ways:

(dependent on configuration)

ResultYou have modified the character encoding from UTF-8 to UTF-16 in the Web service SOAP message.


Related concepts
Web Services-Interoperability Basic Profile



Searchable topic ID: twbs_changeutf