The best way to solve the WAP Chinese problem

zhaozj2021-02-16  80

Tossing for a long time WAP Chinese problem, now the problem is basically solved. I also hope that people who can encounter the same problems are bitter experience.

Architecture: JSP WebLogic8 Hibernate SQLServer2000

Connection pool configuration in WebLogic

Simulator: m3gate, support keyboard input

1. All UTF-8 is all used. Out of the file

<% @ page contenttype =" text / vnd.wap.wml; charSet = UTF-8 "%>

2. Setting in web.xml

WebLogic.httpd.inputcharset ./* UTF-8

Or add request.setcharacterencoding ("UTF-8") in the file;

3. The file is written in writing in the file, and then find a software to transfer Chinese into UTF-8;

4. It is best not to use , I found the Chinese UTF, the first

Some simulators are not supported.

The Chinese problem is now limited without additional conversion.

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

New Post(0)