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

Diacritics #377

Open
mtrx84 opened this issue Oct 16, 2022 · 3 comments
Open

Diacritics #377

mtrx84 opened this issue Oct 16, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@mtrx84
Copy link

mtrx84 commented Oct 16, 2022

Hi. I am using diacritical mark support. From the Polish letters "ą, ć, ę, ł, ń, ó, ś, ź, ż" I have a problem with the character - "ł", "Ł". It doesn't work when I use "l", "L" interchangeably. Can I fix it somehow?

@mtrx84 mtrx84 added the bug Something isn't working label Oct 16, 2022
@folknor
Copy link

folknor commented Oct 17, 2022

"ł" and "Ł" are not diacritics. They are normal letters.

However, https://www.npmjs.com/package/diacritic will fix it for you. Just implement your own search function.

@jtauber
Copy link

jtauber commented Sep 16, 2023

Yes, just to add more explanation: the diacritics: true just strips unicode combining characters in the range U+0300 to U+036F.

@mtrx84
Copy link
Author

mtrx84 commented Sep 17, 2023

Thanks both :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants