hstrom Posted May 13, 2018 Share Posted May 13, 2018 (edited) Hi, I am having some issues with the sorting of products in Swedish. The system treats the swedish characters Å, Ä, Ö as A, A and O, instead of placing them at the end of the alphabet (X, Y, Z, Å, Ä, Ö), as it should. Please see this screen dump. How do I fix this? Using Prestashop v1.7. With kind regards, - Johan. Edited May 14, 2018 by hstrom (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted May 15, 2018 Share Posted May 15, 2018 what character set are you using for your database? Link to comment Share on other sites More sharing options...
hstrom Posted May 15, 2018 Author Share Posted May 15, 2018 On 5/15/2018 at 7:57 AM, musicmaster said: what character set are you using for your database? Expand It's UTF-8. With kind regards, - Johan. Link to comment Share on other sites More sharing options...
musicmaster Posted May 16, 2018 Share Posted May 16, 2018 I am not sure, but I always thought that in German it was usual to ignore the accents for sorting. Link to comment Share on other sites More sharing options...
hstrom Posted May 16, 2018 Author Share Posted May 16, 2018 On 5/16/2018 at 11:34 AM, musicmaster said: I am not sure, but I always thought that in German it was usual to ignore the accents for sorting. Expand The Swedish characters Å, Ä, Ö, are not A, A and O with accents, they are characters in their own right and are placed last in the Swedish alphabet. If a customer want to find a product which start with a Ä, he will not look for it in the beginning of a alphabetic list, but in the end... In any site this sorting would only come across as non-valid and unprofessional for a Swedish customer... Link to comment Share on other sites More sharing options...
musicmaster Posted May 17, 2018 Share Posted May 17, 2018 If I remember well there is some switch telling a database whether to treat those characters the same as without accent or as separate characters for sorting. Your problem suggests that that switch isn't in the correct position in your case. Maybe people on the Swedish forum know more about this issue. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now