简体   繁体   English

Websphere Portal上的字符编码

[英]Character encoding on Websphere Portal

How can I check the character encoding set on My Websphere Portal server? 如何检查My Websphere Portal服务器上的字符编码集? I mean after logging into the console, where do I go? 我的意思是在登录控制台后,我该去哪里?

Consider that you want to enable "UTF-8", for example, then: 例如,考虑您要启用“UTF-8”,然后:

  • On the Application Server page, click on the name of the server that you want it to be UTF-8 enabled. 在“应用程序服务器”页面上,单击要使其成为UTF-8的服务器的名称。
  • On the settings page for the selected application server, click Process Definition . 在所选应用程序服务器的设置页面上,单击“ 进程定义”
  • On the Process Definition page, click Java Virtual Machine . 在“流程定义”页面上,单击“ Java虚拟机”
  • On the Java Virtual Machine page, specify -Dclient.encoding.override=UTF-8 for Generic JVM Arguments and click OK. 在Java Virtual Machine页面上,为Generic JVM Arguments指定-Dclient.encoding.override = UTF-8 ,然后单击OK。
  • Click Save on the console taskbar. 单击控制台任务栏上的“保存”。
  • Restart the application server. 重启应用服务器。

This can work for any Character Encoding. 这适用于任何字符编码。

您可以转到“管理/门户设置/支持的标记”并单击“显示信息”

  1. Create an application server or use an existing application server. 创建应用程序服务器或使用现有应用程序服务器。

  2. On the Application Server page, click on the name of the server you want enabled for UTF-8. 在“应用程序服务器”页面上,单击要为UTF-8启用的服务器的名称。

  3. On the settings page for the selected application server, click Process Definition. 在所选应用程序服务器的设置页面上,单击“进程定义”。

  4. On the Process Definition page, click Java Virtual Machine. 在“流程定义”页面上,单击“Java虚拟机”。

  5. On the Java Virtual Machine page, specify -Dclient.encoding.override=UTF-8 for Generic JVM Arguments and click OK. 在Java Virtual Machine页面上,为Generic JVM Arguments指定-Dclient.encoding.override = UTF-8 ,然后单击OK。

  6. Click Save on the console taskbar. 单击控制台任务栏上的“保存”。

  7. Restart the application server. 重启应用服务器。

From IBM Support Website. 来自IBM支持网站。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM