Jump to content

[SOLVED] search doesn't work for cyrillic language


amos-n-andy

Recommended Posts

Greetings!

My quick search block doesn't work correctly. It shows proper results when I try searching for english titles and it shows nothing when I search for cyrillic titles. The odd thing is that ajax quick search is working just fine.

 

For example when I make a search for the russian word "перчатки". I have the correct matches displayed in ajax quick search :

 

thumb-1.jpg

 

But when I hit "Enter" it says: Please enter a search keyword.

 

How do I fix it ?

 

Thanks in advance!

Link to comment
Share on other sites

phew!

 

It was some sort of url encode issue.

 

I had to encodeURIComponent of the search input on submit event (via Javascript).

 

I also had to employ some hidden input to store my newly encoded string to make it look nice.

 

hope this topic will help others not to waste several hours.

 

cheers :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...