garycourt / uri-js

An RFC 3986 compliant, scheme extendable URI parsing/validating/normalizing/resolving library for JavaScript
Other
305 stars 69 forks source link

IRIs? #3

Closed anarchodin closed 10 years ago

anarchodin commented 10 years ago

I'm wondering if you know how difficult it would be to handle serializing to IRIs as well as URIs, for use in those (increasingly common) contexts that prefer them to ASCII-only strings. To me it kind of looks like it'd only need to tone down the percent-encoding a little, but I may be wrong...

garycourt commented 10 years ago

I already added this support to a separate branch: https://github.com/garycourt/uri-js/tree/iri

It wasn't merged into the head branch as the library is significantly larger.