cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong code set when searching. (ÆØÅ).

oblivian
Champ in-the-making
Champ in-the-making
Hello,

When using the search field, Alfresco outputs weird characters:
When typing e.g. lørdag, this is the output:
Search for ''lørdag'' in site Archive returned 0 results   ( Search All Sites  ) 

This is only from searching. All other places (as far as I know) æøå is recognised and processed properly.

Please advice,

Oblivian
3 REPLIES 3

gronfelt
Champ in-the-making
Champ in-the-making
This is because the URI:s are not encoded right, you need to make sure that the encoding is set to UTF-8.

If you're accessing Tomcat directly there should be an entry in server.xml looking like this:
    <Connector port="8080" protocol="HTTP/1.1" URIEncoding="UTF-8"
               connectionTimeout="20000"
               redirectPort="8443" />

If you're using a proxy you need to make sure that the URI is forwarded correctly from the proxy.

oblivian
Champ in-the-making
Champ in-the-making
Thanks! That did the trick!  Smiley Very Happy

wesse
Champ in-the-making
Champ in-the-making
Hi !

Have a similar problem when try to use åäö, in name or description or any property, from IE7 or IE8 browser ( from FF it works fine)
I tried your changes but that would not help (and I suspected that since thees values are posted ? right ).