示例1:文件以普通ansi编码方式保存
<% response.contenttype="text/vnd.wap.wml" %> 【程序编程相关:中型企业网络国产路由器选型参考】 <%@language="javascript" codepage="936"%> 【推荐阅读:首钢凯思网络计算机介绍】<!doctype wml public "-//wapforum//dtd wml 1.1//en" "http://www.wapforum.org/dtd/wml_1.1.xml"> 【扩展信息:福禄克ES网络通:有线/无线局域网便携分】<?xml version="1.0" encoding="gb2312"?> <wml><head><meta http-equiv="cache-control" content="max-age=0"/><meta http-equiv="cache-control" content="no-cache"/><meta http-equiv="expires" content="mon, 1 jan 1990 00:00:00 gmt"/></head><%var description=request("description");%><card id="submit" title="我要留言"><p>测试:(<%=description%>)<br/><input name="description" emptyok="false" tabindex="2" format="*m"/><a href="test.asp?description=$(description:e)">提交..</a><br/></p></card></wml> 输入: 中文测试结果显示: 涓枃娴嬭瘯结果分析:字符变成utf-8编码,需要重新做utf-8 => gb2312的转换处理示例2:文件以普通ansi编码方式保存... 下一页