No suggestion for search where the first letter is accented. For example when user is looking for word šeberov, there is no suggestion. For search Šeberov it works correct. Of course the node with word Šeberov in field exists. If user type šeberov into search field, then it returns correct nodes. The field for searching is a view exposed filter. If accented letter is inside the word it works well.

Comments

vasike’s picture

Title: No suggest for search where first letter is accented. » No suggest/results for search for accented characters case-sensitive.
Status: Active » Fixed

indeed. it seems that case-insensitive strings check it's not working for this kind of characters.
so i changed this using drupal_strtolower() function, forcing to UTF-8 lowercase for the check.
here is the commit : http://drupalcode.org/project/views_autocomplete_filters.git/commit/16b7f92

thank you Sir for the catch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

hackney’s picture

I am new to Drupal so please, let me know if this question has already been answered.

I have exposed filters with autocomplete and wonder if it's possible to have accent insensitive results in autocomplete, ie when I type "ale" autocomplete shows "alexander" and if I type "alé" it would show "aléxander". Would it be possible that autocomplete shows accented or special characters from other languages when the english character is entered? For example if I type alexander it shows both alexander and aléxander