|Title|AJAX UTF-8 search fail
|Date|20-Jun-2007 23:19:53 EEST
|Version|2.5.88
|Submitter|84.19.184.156
|[Bug criticality]|MediumBug
|Browser version|Firefox 2.0.0.4
|[Bug status]|NewBug
|[PageProvider] used|
|Servlet Container|Apache Tomcat 6.0.13
|Operating System|Windows XP
|URL|http://sandbox.jspwiki.org
|Java version|JRE 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>
}}}