AIMP Forum

Разное => Предложения (архив) / Suggestions (archive) => Архив / Archive => Реализовано в AIMP v5.40 / Implemented in AIMP v5.40 => Topic started by: esolmaan on May 10, 2024, 20:18:43

Title: Accented Character Insensitive Search
Post by: esolmaan on May 10, 2024, 20:18:43
I'd like to propose a feature enhancement for the AIMP player. Currently, when searching for songs or artists, the player treats accented characters differently, which can sometimes lead to missed results. For example, searching for "cafe" might not yield results if the song is titled "café".

I suggest implementing a search functionality that is insensitive to accented characters, meaning that variations, for example, of the letter "a" such as "ā", "ă", "å", "ä", "ã", "â", "á", "à", "Ǟ", "ǟ", "Ǡ", "ǡ", "Ǣ", "Ǻ", "ǻ", "ȁ", "Ȃ", and "ȃ" are all recognized as equivalent to "a" during searches.

This enhancement would improve user experience and ensure that users can easily find the songs or artists they're looking for, regardless of how the characters are accented.
Title: Re: Accented Character Insensitive Search
Post by: Artem on May 11, 2024, 09:15:36
AIMP compares the strings using OS API
Title: Re: Accented Character Insensitive Search
Post by: esolmaan on May 13, 2024, 03:02:47
So there is no chance that this "search problem" will be changed in the future? :(
Title: Re: Accented Character Insensitive Search
Post by: JD on May 13, 2024, 17:43:15
AIMP compares the strings using OS API
JFYI
https://learn.microsoft.com/en-us/windows/win32/api/stringapiset/nf-stringapiset-comparestringex
LINGUISTIC_IGNOREDIACRITIC

So it's possible to do this using API.
Title: Re: Accented Character Insensitive Search
Post by: Artem on May 13, 2024, 20:24:37
LINGUISTIC_IGNOREDIACRITIC

Thanks, I will check it
Title: Re: Accented Character Insensitive Search
Post by: Artem on May 14, 2024, 11:06:19
Thanks, I will check it

I will implement this in next minor version.
Title: Re: Accented Character Insensitive Search
Post by: esolmaan on May 14, 2024, 16:48:25
I will implement this in next minor version.

I've waited so many years for this... 🥹