一无所有的人是幸福的 >>
<< 重新感受打一大二的个人网页
Bug of search

Author Zhou Renjian Create@ 2004-12-26 14:04
whizz Note icon

For example searching "守株待兔"

In IE, the URL will be  http://www.whizzideas.com/whizznotes/search?query=%CA%D8%D6%EA%B4%FD%CD%C3, while in Mozilla, it will be http://www.whizzideas.com/whizznotes/search?query=%E5%AE%88%E6%A0%AA%E5%BE%85%E5%85%94, in which the Chinese charactors are wrong!

As I use   
String queryWords = new String(request.getParameter("query").getBytes("iso-8859-1"), "gb2312");
in the Servlet, but Mozilla's encoding is different.

本记录所在类别:
本记录相关记录: