Skip to content

treeview artist grouping for non-ascii names (id3 TPE1) #152

Closed

Description

@tegularius

cmus (rc0-2-g5b307af) groups some different non-ascii artist-names together. I noticed it for names consisting of japanese kana with the same length.
The grouping in this case does work with locale ja_JP.UTF-8, but does not work with en_US.UTF-8 (but it should).
Same number of different Kanji seem to work (with the same amout of bytes in the characters).

Everywhere else the artist-names are being displayed correctly.

How to replicate? Take two mp3s without id3-tags. Tag the one TPE1="か" and the other with TPE1="な". Add to cmus and look in the tree-view with a other than japanese locale.

Activity

  1. flyingmutant commented on Aug 11, 2014

    @flyingmutant
    Member

    Something tells me this is very similar to #103 — can you please take a look?

  2. tegularius commented on Aug 11, 2014

    @tegularius
    Author

    You are right! I didn't check the closed issues.

    setlocale(LC_COLLATE, "");
    printf("%d\n", strcoll("か", "し"));

    This shows 0, so it's glibc not cmus.

    Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions