all-contributors / all-contributors/cli

Alphabetical sorting doesn't work for non-ASCII languages. Missing locale setting.

Ouverte
#349 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
type: bug
Langage dominant
JavaScript
Étoiles
425
Forks
149
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**Describe the bug**
Alphabetical sorting doesn't work for languages with special characters or according to locale. Non-ASCII characters will sort at the end of the list.

**To Reproduce**
Steps to reproduce the behavior:
1. Add a user with name starting with non-ASCII character, e.g. `Č`
2. Set `contributorsSortAlphabetically` to `true`
3. Open README.md
4. See user starting with `Č` at the end of the list instead in correct alphabetical order (which is for my locale after `C`)

**Expected behavior**
Users will be sorted correctly using specified locale.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.