Skip to content
New issue

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

case-insensitive issue #105

Open
tugrul opened this issue Apr 7, 2020 · 0 comments
Open

case-insensitive issue #105

tugrul opened this issue Apr 7, 2020 · 0 comments

Comments

@tugrul
Copy link

tugrul commented Apr 7, 2020

Domain names are case-insensitive and library has problem with uppercase.

punnycode.toASCII('ÜBER.COM'); 

xn--BER-ska.COM good

punycode.toUnicode('xn--BER-ska.COM');

Über.COM not good because case format is lost

punycode.toUnicode('XN--BER-SKA.COM');

XN--BER-SKA.COM not good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant