[ 
https://issues.apache.org/jira/browse/SOLR-4265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13544231#comment-13544231
 ] 

Alex Rocher commented on SOLR-4265:
-----------------------------------

Funny subject I Think ... finally :-)

Für mich, the problem is quite simple : when you retrieve a "null" from a 
Servlet component for request.getCharacterEncoding(), you'll to suppose that 
you're HTTP client send in a chartset. By default, we can imagine that it's 
UTF-8.
I've never found any Servlet/rule/http/browser on this this subjetc. My 
experience telle me : no encoding, please encode me from UTF-8 :-/

PS: sorry for my english, I'm french and as you we have a pity translation 
education
                
> Encoding problem from test console
> ----------------------------------
>
>                 Key: SOLR-4265
>                 URL: https://issues.apache.org/jira/browse/SOLR-4265
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 4.0
>         Environment: Windows but, environment independent
>            Reporter: Alex Rocher
>            Priority: Blocker
>         Attachments: SolrDispatchFilter.java.patch
>
>
> When you type an accent (in french language for example) in the console query 
> tester, there's no charset conversion (servlet request charset conversion)
> Eg.: "même" is converted into it's ISO-8859-1 representation ==> fail
> The reason : getCharacterEncoding from HTTPRequest is not tested. Il it's 
> null, il will assume to convert an UTF-8 encoding charset.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to