Search case sensitive with Finnish alphabet

torx6

No avatar

2010-04-14 10:46

I have a problem with product search regarding case of letters in Finnish alphabet. For example if I have a product with letter 'Ä' in it the search will not find it if it is searched with lower case letter 'ä'. With correct case the search works perfectly. Any ideas where I go wrong?

» Quick.Cart v3.x

beholder

Avatar: beholder

2010-04-14 14:38

from my experience I know that the search was probably made only for latin characters. The solution would be to convert the compared texts to latin characters. Sources need to be changed.

saba

Avatar: saba

2010-04-14 19:09

Yes, it's true. If you search big Ä you can't get answer with small ä.

saba

Avatar: saba

2010-04-14 20:07

Is in polish language have differents with big characters like Ń,Ó and small characters ń and ó? I think they have a same problem?

torx6

No avatar

2010-04-16 10:04

Ok, thanks for the information. I thought I had done something to cause it but luckily not :)
I'm not familiar with the source but is the change2Latin function in Trash.php made for these situations?

beholder

Avatar: beholder

2010-04-16 17:15

yes, exactly. But you need to change the search function generateProductsSearchListArray() in file core/products.php.
Write to this thread if you're having a problem modifying it with change2Latin, because right now I don't have much time to be very specific.

Mutant

Avatar: Mutant

2011-09-29 10:56

I have the same problem as torx6 with Quick.Cart 4.1.

How do I solve it?

Back to top
about us | contact