WebSphere Chinese garbled problem.

xiaoxiao2021-03-06  39

Yesterday released a project to WebShpere, some Chinese displayed as garbled.

I was released in Tomcat, OC4J, and my Chinese has been converted to a hexadecimal when passing through the URL. There should be no problem.

Asked colleagues, he said that the character set in WebShpere must be UTF-8 (doubt). But there is still no way, the project is waiting to be released, the tester is waiting to test, or try it again.

I conducted the treatment of UTF-8 in Chinese on the sixteen-binary conversion, and there was no problem.

Today, other other projects in our company have also appeared Chinese garbled problems.

I don't know if it is WebShpere that can only support Chinese with UTF-8? ? ?

My processing is in the JSP header

<% @ Page ContentType = "Text / HTML; Charset = UTF-8"%>

String content = "Chinese";

Content.getbytes ("UTF-8");

NEW STRING (PARAM, "UTF-8") when the next page;

转载请注明原文地址:https://www.9cbs.com/read-65245.html

New Post(0)