cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with diacritics in search

simh
Champ in-the-making
Champ in-the-making
Hi,
I recently noticed that I have a problem with searching for special characters. The problem occurs only in Share, in Alfresco explorer everything is fine. Thanks to some guidance from Loftux on IRC, I enabled tomcat6 access log and found out that the initial passing of the search query is correct, but then some redirection takes place and the query gets messed up. This can be observed in the log file: http://pastebin.com/sMebqRqa - in the first line "ś" is correctly converted to C5 but then, in line, 18 it's changed to something else.
I also setup similar alfresco instance on my laptop to test it, but everything was correct then.

Any ideas?
4 REPLIES 4

andy
Champ on-the-rise
Champ on-the-rise
Hi

What have you got set for the URI encoding on your tomcat connector?
Check your config against that in the installer.

I have
URIEncoding="UTF-8"

I though %C5 was something else ??

Andy

simh
Champ in-the-making
Champ in-the-making
Hi Andy,
yes, I have this setup. It is the default config and I haven't change it.
Also, I was thinking that maybe I messed some files in webapps/share or alfresco, so I deleted both directories and redeployed. The problem still exists

andy
Champ on-the-rise
Champ on-the-rise
Hi

Can you post the detail for the property/content, sample content, and a sample query that reproduces the problem?
Hopefully with a standard property.

I have a feeling there was an encoding fix somewhere in share but I can not recall it at the moment.

Andy

simh
Champ in-the-making
Champ in-the-making
Hi Andy,
so the thing is… I wanted to test it now and… it works correctly now. Don't know why and since when. I had no more ideas how to fix it myself so I ignored it for now and it started to work. The only thing I did, as far as I can tell, was to install JavaScript admin console from Share-extras package.
And regarding your question, I simply tried to search for "ś" or any other polish character. The problem occured every time. I would still like to know the cause for this, even if now it works. I don't want it to come back unexpected Smiley Happy