all-contributors / all-contributors/cli

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

Đang mở
#349 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
type: bug
Ngôn ngữ chính
JavaScript
Star
425
Fork
149
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.