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

Russian sympols search problems in version 1.10 #107

Closed
ktaranov opened this issue Mar 19, 2017 · 2 comments
Closed

Russian sympols search problems in version 1.10 #107

ktaranov opened this issue Mar 19, 2017 · 2 comments

Comments

@ktaranov
Copy link

Hi, guys.

Trying to search any Russian word and get error: mb_stripos(): Empty delimiter on …\user\plugins\simplesearch\simplesearch.php 243.

Problem in function matchText line 243:

$result = mb_stripos(iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', $haystack), iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', $needle));

If I rollback simplesearch.php on previous version (plugin version 1.9.3, where not used matchText function) search for Russian words works fine.

Could you fix this issue?

@flaviocopes
Copy link
Contributor

Turn off Ignore accented characters in the plugin configuration.

flaviocopes added a commit that referenced this issue Apr 11, 2017
…ers` on an unsupported charset raises an exception [#107]
@flaviocopes
Copy link
Contributor

Should be solved in the next release

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

2 participants