all-contributors / all-contributors/cli
Alphabetical sorting doesn't work for non-ASCII languages. Missing locale setting.
未关闭
type: bug
- 主要语言
- JavaScript
- 星标
- 425
- 派生
- 149
- PR 合并指标
- 30 天内没有已合并 PR
描述
**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.
贡献指南
评估
这个 Issue 还没有评估数据。