Displaying National Characters on Sun Solaris

Solaris has changed its default locale system of Java encoding from ISO-8859-1 to UTF8. As a result, national characters are displayed as two question marks (??).

To correct the problem, you must include the ISO encoding parameter in the startup shell of the web server and servlet engine.

export LANG=languagecode_COUNTRYCODE.ISOXXXX-X

where:

languagecode

Is the 2-letter ISO language code. See http://www.w3.org/WAI/ER/IG/ert/iso639.htm.

COUNTRYCODE

Is the 2-letter ISO country code. See http://www.iso.org/iso/prods-services/iso3166ma/ 02iso-3166-code-lists/country_names_and_code_elements.

ISOXXXX-X

Is one of the following:

Example for English:

export LANG=en_US.ISO8859-1

Example for German:

export LANG=de_DE.ISO8859-1

WebFOCUS

Feedback