IBM Support

Displaying Characters of other languages in UI

Question & Answer


Question

How do you make sure characters of languages other than the installed language are displayed properly on browser / UI in IBM Sterling Order Management ?

Cause

The fields comprising of these characters are garbled.

Answer

Considering the scenario wherein Sterling Order Management system has been installed in English language and characters of some other language are passed in API Input ( For example: Address field in createOrder API) having the "Á, á, É, é, Í, í, Ó, ó, Ú, ú, Ü, ü, Ñ, ñ" in the AddressLine1. The character encoding should be set to UTF-8 as suggested below:

  1. If order is being created from Browser (Via Application Console or API tester) The encoding at browser level should be set to UTF-8.

  2. Pass the JVM argument -Dfile.encoding=UTF-8 to the app server JVM to enable UTF-8 encoding. in application server.

  3. Database should be configured with UTF-8 encoding.

  4. The UI where details are viewed (Browser, Say Application Console is viewed at Browser) should also have encoding set to UTF-8.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Documentation","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF034","label":"Windows Mobile"}],"Version":"9.0;9.1;9.2;9.2.1;9.3;9.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
10 May 2022

UID

swg21968932