Example: https://observablehq.com/@easz/search-in-various-languages
The search cannot work out-of-box with none-Latin alphabet.
Should I do some encoding/normalization conversion by myself?
Example: https://observablehq.com/@easz/search-in-various-languages
The search cannot work out-of-box with none-Latin alphabet.
Should I do some encoding/normalization conversion by myself?
my answer works in French but apparently not in all languages. I hope it can be used as a template so we can have a better solution. See also Add "normalize" option to Search input? · Issue #135 · observablehq/inputs · GitHub
yes, it would be a great idea to have a generic way handling different language.
Either built-in Unicode normalization or user defined normalization method as an extra parameter for search.