Comments (3)
Yes. It's in the spec as the ToASCII algorithm.
If you have browser bugs to report that's best reported on browsers. If you have questions about the spec that's best reported on the spec. whatwg-url is just faithfully implementing the spec.
from whatwg-url.
Although I guess since you were probably looking at the code you were referring to our use of the punycode package, not the punycode concept in general. We use the ucs2.decode function which is necessary for implementing the parts of the spec that involve decoding JavaScript strings into an array of their code points.
from whatwg-url.
Thank you.
from whatwg-url.
Related Issues (20)
- ReferenceError: TextEncoder is not defined HOT 1
- "use strict" cause disable implicit globals TextEncoder, TextDecoder HOT 2
- ReferenceError: TextEncoder is not defined HOT 9
- ReferenceError: TextEncoder is not defined HOT 20
- TextEncoder undefined when using with mongoose HOT 1
- JSDOM (whatwg-url dependency) breaks in Electron 14.0.0: ReferenceError: SharedArrayBuffer is not defined HOT 4
- Possibility of backporting Buffer fix to 5.x HOT 3
- Invalid URL: mongodb://__this_is_a_placeholder__/mydb HOT 1
- Cursor resets on text entry HOT 2
- ReferenceError: TextEncoder is not defined HOT 1
- Inconsistent behavior while parsing the port number HOT 2
- ReferenceError: TextEncoder is not defined HOT 3
- Invalid ip address parsing HOT 3
- Punycode domains are not properly validated HOT 6
- Hashtag in data url is parsed incorrectly HOT 1
- Investigate mysterious protocol setter non-failure
- (node:19882) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. HOT 3
- Coverage has dipped below 100%
- but parsing URL with IPv4 address as hostname? HOT 1
- URL Can contains invalid hostname HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatwg-url.