Closed zp-sd closed 6 years ago
68f03ab9e89e276e3f657902a6bc8f03e014423c handle IDNA mapping and options based on http://unicode.org/reports/tr46/#Processing. .
Current tests pass.
I started to add the label validation.
The following need to be validated according to rfc5891 :
1) Implement label validation as stated in https://tools.ietf.org/html/rfc5891#section-4.2
2) Based on https://tools.ietf.org/html/rfc5891#section-4.1
However the code uses
unicode_util_compat:nfkc
.3) See also UTS #46, especially http://unicode.org/reports/tr46/#Processing.
Maybe support parameters as ICU 60.2 does (http://icu-project.org/apiref/icu4c/uidna_8h.html), This lib was used in https://github.com/benoitc/erlang-idna-nif.