<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml;charset=UTF-8" pageEncoding="GBK"%>
<wml>
<card id="card1" title="Title">
<p>
<%
String str="测试";
String str1=util.GetUTF.toUTF(str);
String str2=util.GetUTF.work(str);
out.println(str);
out.println(str1);
out.println(str2);
out.println("<br/>");
String par="测试";
String par3=util.TransferCode.TranEncodeTOGB(par);
String par4=new String(par.getBytes("gb2312"),"gb2312");
out.println(par);
out.println(par3);
out.println(par4);
%>
</p>
</card>
</wml>
pageEncoding不能改成utf-8, 不太明白所谓的手机只支持utf-8编码...