Cloudef / bemenu

Dynamic menu library and client program inspired by dmenu
GNU General Public License v3.0
1.24k stars 96 forks source link

"--ignorecase" option does not work with Cyrillic #394

Open butyoutried opened 8 months ago

butyoutried commented 8 months ago

For example, with bemenu --ignorecase I expected to match "Достоевский" by typing "достоевский", but it did't work, unfortunately. Could you please fix this? I'm using 0.6.20 version.

Cloudef commented 8 months ago

Ah the ignorecase simply does strnicmp, it's not unicode aware. For your case bemenu would need a unicode aware filter function.

butyoutried commented 8 months ago

Well, I hope bemenu will get this Unicode-aware function one day :)