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

The Turkish I Problem #719

Closed
ecehanece opened this issue Feb 20, 2015 · 4 comments
Closed

The Turkish I Problem #719

ecehanece opened this issue Feb 20, 2015 · 4 comments

Comments

@ecehanece
Copy link

Hello there,

First, this is great work 👍 And I'm using selectize in my project. But when I try to search in select box with the Türkish letter " İ " it's not working.

For example; I have a city named İzmir. And when i try to search with the letters "i", "ı", or "I" it's fine. But with "İ" it's not working.

And I have changed the var DIACRITICS variable in selectize.js to this for İ . [i, ı, I, İ] : [iÌÍÎÏìíîïIİı]

But that isn't working. Is there a solution?

By the way, for the other letters like ö, ü, ş, ç or ğ it's working. Just for İ it's not working.

@sandstrom
Copy link

I think it's better to file this in https://github.com/brianreavis/sifter.js, since that's the library that handles this. Also, a test-case reproducing the issue are a good start. That way it's easier for others to help out.

I'd suggest closing this issue and reopening within Sifter along with a failing test.

@hakdogan
Copy link

Hi.

I have that same problem. Any solution?

@ceremcem
Copy link

ceremcem commented Feb 4, 2018

Quick and dirty workaround: Sifter has asciifold() function. This function can be used to replace the search string in the first place, then passed to the sifter.search, like "sifter.search(asciifold(mysearchtext), ...)". This solves the problem.

@risadams
Copy link
Contributor

closing stale issues older than one year.
If this issue was closed in error please message the maintainers.
All issues must include a proper title, description, and examples.

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

5 participants