Hi Yann,

I'm pretty sure that this is a character encoding problem.

You wrote:
> I do other tests. I directly write url in my browser adresse bar :
> http://localhost:8080/solr/select/?q=all:château<http://localhost:8080/solr/select/?q=all:ch%C3%A2teau>
> and i have result  !!! and the  url is
> now : http://localhost:8080/solr/select/?q=all:ch%E2teau
> The character â is replace by %E2. I use Firefox 3.6.

Do you get hits with the first form, where â is replaced by %C3%A2?

SolrJ will encode â in UTF-8, which is hex encoded as %C3%A2, not %E2, which is 
the Latin-1 encoding (aka ISO-8859-1; windows-1252 is almost the same).

Are you using Tomcat?  You need to change the configuration in order for Tomcat 
to properly handle UTF-8-hex-encoded queries - see 
http://wiki.apache.org/solr/SolrTomcat#URI_Charset_Config

Steve

Reply via email to