We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
That's it. A week ago I was able to convert emails with "xn--" to Unicode, and now it isn't.
The text was updated successfully, but these errors were encountered:
The same I got with https://xn--d1aqf.xn--p1ai/, which should be https://дом.рф/, but this lib returns https://xn--d1aqf.эрф.
https://xn--d1aqf.xn--p1ai/
https://дом.рф/
https://xn--d1aqf.эрф
Sorry, something went wrong.
uri-js seems working for me.
uri-js
URI.serialize(URI.parse("http://xn--exampl-gva.org/ros%C3%A9"), {iri:true})
UPD: that was my bad, Punycode works only with domains (hostnames; be careful: without ports), so I've changed the code to ugly one:
https://replit.com/@AlexWayfer/punycode
No branches or pull requests
That's it. A week ago I was able to convert emails with "xn--" to Unicode, and now it isn't.
The text was updated successfully, but these errors were encountered: