TitleAJAX UTF-8 search fail
Date20-Jun-2007 23:19:53 EEST
Version2.5.88
Submitter84.19.184.156
Bug criticalityMediumBug
Browser versionFirefox 2.0.0.4
Bug statusNewBug
PageProvider used
Servlet ContainerApache Tomcat 6.0.13
Operating SystemWindows XP
URLhttp://sandbox.jspwiki.org
Java versionJRE 1.5.0_06

AJAX search fails with non-ASCII characters until I insert

<%@ page language="java" pageEncoding="UTF-8"%>
at the top of AJAXSearch.jsp

HTTP response before change:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=7B402EA9D9691F6354E510D46266F79B; Path=/JSPWiki
Content-Type: text/html
Content-Length: 891
Date: Wed, 20 Jun 2007 20:08:15 GMT
Connection: keep-alive

...
<h4>Search results for &#8220;?????????&#8221;</h4>

HTTP response after change:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=AC94DC84F1CC39362F36DA8F1C2D0118; Path=/JSPWiki
Content-Type: text/html;charset=UTF-8
Content-Length: 897
Date: Wed, 20 Jun 2007 20:07:49 GMT
Connection: keep-alive

...
<h4>Search results for &#8220;ЙЦУКЕНГШЩ&#8221;</h4>

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 20-Jun-2007 23:19 by 84.19.184.156