[ 
https://issues.apache.org/jira/browse/SOLR-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lars Kotthoff updated SOLR-501:
-------------------------------

    Attachment: SOLR-501.patch

The method setCharacterEncoding() is also part of the 2.4 servlet spec, I've 
just tested it successfully with Tomcat 5.5.

However, if everything is to be passed around as UTF-8, the Content-Type header 
of the pages should indicate this and the accept-charset of the forms should be 
set to UTF-8. I've attached a path which makes the necessary changes.

> /admin/analysis.jsp does not decode input string as UTF-8 sequence.
> -------------------------------------------------------------------
>
>                 Key: SOLR-501
>                 URL: https://issues.apache.org/jira/browse/SOLR-501
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: Tomcat6.0
>            Reporter: Hiroaki Kawai
>            Assignee: Ryan McKinley
>             Fix For: 1.3
>
>         Attachments: header.jsp.patch, SOLR-501.patch
>
>
> In servlet2.5, we should call 
> HttpRequestServlet.setCharacterEncoding("UTF-8") to get a UTF-8 character 
> sequence via request.getParameter() in JSP.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to