GourmandRecipeManager / gourmand

A recipe manager for desktop with the possibilities to import, organize, and tweak recipes
GNU General Public License v2.0
67 stars 24 forks source link

Wrong alphabetical order when sorting recipes by name (special characters) #106

Open pled opened 2 years ago

pled commented 2 years ago

When displaying recipes in main window, then clicking on "Title" column to sort recipes by names, special (or extended) characters like "œ" or "É" are wrongly sorted.

sorted

Steps to Reproduce

  1. Open main window
  2. Click on "Title" column to sort recipes based on name, and to get reverse alphabetical order
  3. Special or extended characters such as "œ" or "é" are listed on top, before "z" etc...

Expected Behavior

Such characters should be listed along similar characters : "œ" should be with "oe", "é" should be with "e", etc...

Environment

cydanil commented 2 years ago

Thanks for the report!
I'm kinda surprised because I did not touch this part of the code.
I will investigate and report here any findings :slightly_smiling_face: