How can `Search` from @observablehq/inputs work with none-Latin alphabet?


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

1 Like

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.

1 Like