mathiasbynens / punycode.js

A robust Punycode converter that fully complies to RFC 3492 and RFC 5891.
https://mths.be/punycode
MIT License
1.6k stars 159 forks source link

Add IDN validation #95

Open FGasper opened 5 years ago

FGasper commented 5 years ago

Would it be reasonable to add IDN validation to this library? (I’m not aware of a way to do this in JS yet …)

Thank you!

tugrul commented 4 years ago

@FGasper can you assist me about this issue.

I published a library to map IDNA flag of a unicode character. But there are several flags for several IDNA versions. Which flags should consider valid for each versions of IDNA tables.

Then I am able to integrate my library to punnycode to verify characters.

You can see my library from https://github.com/tugrul/node-idna

Thanks