You need to do something like this in the ./conf/tomcat server.xml file:
See 'URIEncoding' in http://tomcat.apache.org/tomcat-7.0-doc/config/http.html
Note that this will assume that the encoding of the data is in utf-8 if (and
ONLY if) the charset parameter is not set in the HTTP request
Paul ,
I added the fllowing line to catalina.sh and restarted the server ,but this
does not seem to help.
JAVA_OPTS="-Djavax.servlet.request.encoding=UTF-8 -Dfile.encoding=UTF-8"
Regards
Sujatha
On Sun, Jul 17, 2011 at 3:51 AM, Paul Libbrecht wrote:
> If you have the option, try setting the
If you have the option, try setting the default charset of the
servlet-container to utf-8.
Typically this is done by setting a system property on startup.
My experience has been that the default used to be utf-8 but it is less and
less and sometimes in a surprising way!
paul
Le 16 juil. 2011
It works fine with GET method ,but I am wondering why it does not with POST
method.
2011/7/15 pankaj bhatt
> Hi Arun,
> This looks like an Encoding issue to me.
> Can you change your browser settinsg to UTF-8 and hit the search url
> via GET method.
>
>We faced the similar
Hi Arun,
This looks like an Encoding issue to me.
Can you change your browser settinsg to UTF-8 and hit the search url
via GET method.
We faced the similar problem with chienese,korean languages, this
solved the problem.
/ Pankaj Bhatt.
2011/7/15 Sujatha Arun
> Hello,
Hello,
We have implemented solr search in several languages .Intially we used the
"GET" method for querying ,but later moved to "POST" method to accomodate
lengthy queries .
When we moved form GET TO POSt method ,the german characteres could no
longer be searched and I had to use the fucntion