Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'ignore_accented_characters' has no effect #141

Open
ThosG opened this issue Jan 12, 2018 · 2 comments
Open

'ignore_accented_characters' has no effect #141

ThosG opened this issue Jan 12, 2018 · 2 comments

Comments

@ThosG
Copy link

ThosG commented Jan 12, 2018

café does not match cafe. If the search string has an accent but the target doesn't (café to cafe), or the other way around (cafe to café), there is no match.

@techws-dev
Copy link

I got the same issue with that option not working, I came to a workaround in file simplesearch.php in function matchText(), replacing :

setlocale(LC_ALL, 'en_US');

with :

setlocale(LC_ALL, 'en_US.utf8');

I don't know if this is solving the issue on all environments, so if somebody can confirm it would be nice.

@Fazarel
Copy link

Fazarel commented Feb 4, 2023

I don't know if this is solving the issue on all environments, so if somebody can confirm it would be nice.

It works for me on Ubuntu 20.04.1 LTS, tanks @techws-dev !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants