Skip to content

[Bug]: Uppercase and lowercase are treated as different letters for Cyrillic characters #1305

@realllyrandommann

Description

@realllyrandommann

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

Alpha v9.5.6

Operating System & Version

Windows 10

Description

When sorting files with Cyrillic names, it first sorts all capital letters, then all small letters.
Example:
Image
Resulting order for Latin letters: a -> A -> B -> b
Resulting order for Cyrillic letters: А -> Б -> а -> б

This also affects the file and tag search: search terms are always case-sensitive, even when written in lowercase.

Expected Behavior

Cyrillic letters are treated the same as Latin letters when sorting by filename.
Lowercase search terms with Cyrillic letters are treated as case-insensitive.

Steps to Reproduce

  1. Add files with Cyrillic filenames to the library (different variations of lower- and uppercase).
  2. Sort by filename.
  3. Search for a file using lowercase.
  4. Add a Cyrillic tag beginning with a capital letter.
  5. Search for the tag using lowercase.

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    TagStudio: SearchThe TagStudio search engineType: BugSomething isn't working as intendedType: UI/UXUser interface and/or user experience

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions