Working with locales and character encodings

Internationalization support for this product relies on that provided by the Javaâ„¢ 2 Platform, Standard Edition (J2SE). Support varies by platform.

 

Procedure

 

Results

If your application produces an UnsupportedEncodingException exception, check your operating system documentation to determine if the target operating system supports the required encoding and adjust the runtime environment as needed.

 

Example

For example, on the Windows® platform, the command prompt runs in a Windows code page. Not all Windows code pages are supported by the Java platform, so it is possible to get a Java exception when running a command-line program, such as wsadmin, in an unsupported code page. To avoid exceptions, use the chcp command to explicitly set the code page to an encoding that is supported by the Java platform.



Related concepts
Globalization Related tasks
Task overview: Globalizing applications Related reference
Language versions offered by this product Globalization: Resources for learning