memo icon indicating copy to clipboard operation
memo copied to clipboard

case insensitive search not working with upper-case accented letters?

Open xfzv opened this issue 2 years ago • 2 comments

Example:

  1. Search for word - returns either word or Word matches :heavy_check_mark:
  2. Search for café - only returns café matches but not CAFÉ :x:
  3. Search for CAFÉ - only returns CAFÉ matches but not café :x:

xfzv avatar Oct 26 '23 17:10 xfzv

Lua issue, but probably can find code capable of handling that.

> a = "CAFÉ"
> a:lower()
cafÉ

Easiest solution would be to replace accented characters with non-accented ones.

po5 avatar Oct 26 '23 17:10 po5

Related https://github.com/tomasklaen/uosc/discussions/656

christoph-heinrich avatar Oct 26 '23 18:10 christoph-heinrich