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

punycode support #11

Open
Kikobeats opened this issue May 7, 2018 · 1 comment
Open

punycode support #11

Kikobeats opened this issue May 7, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@Kikobeats
Copy link
Member

Kikobeats commented May 7, 2018

screen shot 2018-05-07 at 14 05 29

I was experimented with add punycode support at microlink but when I pass the text into nanoclamp component (something like 😻🍕.ws ) it can't calculate the size properly

reproducible code

const punycode = require('punycode')

const input = 'xn--vi8hl0c.ws'

const output = punycode.decode(input)

console.log(output)
@Kikobeats Kikobeats added the enhancement New feature or request label May 7, 2018
@Kikobeats
Copy link
Member Author

Related: https://github.com/gajus/punycode-url

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

No branches or pull requests

1 participant