Search code examples
character-encodingwebsphere-portal

Character encoding on Websphere Portal


How can I check the character encoding set on My Websphere Portal server? I mean after logging into the console, where do I go?


Solution

  • Consider that you want to enable "UTF-8", for example, then:

    • On the Application Server page, click on the name of the server that you want it to be UTF-8 enabled.
    • On the settings page for the selected application server, click Process Definition.
    • On the Process Definition page, click Java Virtual Machine.
    • On the Java Virtual Machine page, specify -Dclient.encoding.override=UTF-8 for Generic JVM Arguments and click OK.
    • Click Save on the console taskbar.
    • Restart the application server.

    This can work for any Character Encoding.