andrewrk / andrewrk/node-diacritics

Use Unicode normalization?

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

Mô tả

Unicode defines normalized forms for characters and character classes.

It might work to normalize strings to NFKD and remove any characters of class Mn (Nonspacing_Mark) (see [table 12](http://www.unicode.org/reports/tr44/#GC_Values_Table))

It might be necessary to specially handle conversions like ß to ss

See also [python stack overflow answer](http://stackoverflow.com/a/1410365/2607762)

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đá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.