[language] Non-english tags are not correctly sorted by alphabet #150

Open
opened 2026-10-04 23:44:58 +02:00 by adam · 1 comment
Owner

Reported by yuragal on 13 Nov 2010 12:49

Version: 2.1.5

I have a number of tags in Russian (UTF8). As fas as I can see from demo Piwigo site, tags should group by first letter and the sort whitin a group.
http://piwigo.org/demo/tags.php?display_mode=letters

In my case, Tags are messed up.
http://yuragal.dyndns.org/piwigo/tags.php?display_mode=letters

Piwigo Bugtracker #2033

**Reported by yuragal on 13 Nov 2010 12:49** **Version:** 2.1.5 I have a number of tags in Russian (UTF8). As fas as I can see from demo Piwigo site, tags should group by first letter and the sort whitin a group. http://piwigo.org/demo/tags.php?display_mode=letters In my case, Tags are messed up. http://yuragal.dyndns.org/piwigo/tags.php?display_mode=letters [Piwigo Bugtracker #2033](http://piwigo.org/bugs/view.php?id=2033) <!-- github-sync-id:97226210 -->
Author
Owner

The sorting orders are handled by the MySQL database. Just switch from the utf8_general_ci collation to utf8_unicode_ci in case you have proper permissions:

ALTER DATABASE database_name
CHARACTER SET utf8mb4
COLLATE utf8mb4_unicode_ci;
The sorting orders are handled by the MySQL database. Just switch from the `utf8_general_ci` collation to `utf8_unicode_ci` in case you have proper permissions: ``` ALTER DATABASE database_name CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; ``` <!-- github-comment-id:561081059 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#150