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

Migrate from IDNA2003 to UTS 45 #24

Closed
smola opened this issue Jan 10, 2014 · 4 comments
Closed

Migrate from IDNA2003 to UTS 45 #24

smola opened this issue Jan 10, 2014 · 4 comments
Assignees

Comments

@ghost ghost assigned smola Jan 10, 2014
@smola smola modified the milestone: 0.1.0 Mar 18, 2014
@smola
Copy link
Owner Author

smola commented Mar 18, 2014

This is not likely to be resolved any time soon. For now, we'll maintain the use of java.net.IDN, which implements IDNA2003.

@sideshowbarker
Copy link
Contributor

This URL spec has now switched to referencing UTS 46 instead of RFC 3490 (and has dropped all references to RFC 3490 and replaced them with references to UTS 46). Specifically, it now references UTS 46 for ToASCII and ToUnicode.

I was going to say, "Time to switch away from java.net.IDN and on to com.ibm.icu.text.IDNA?" but as far as I can see, it seems that com.ibm.icu.text.IDNA also still just follows RFC 3490 for ToASCII and ToUnicode (instead of following UTS 46).

Note also the latest proposed update to UTS 46:

http://www.unicode.org/reports/tr46/proposed.html#ToASCII
http://www.unicode.org/reports/tr46/proposed.html#ToUnicode

@smola smola changed the title IDNA2003 vs IDNA2008 Migrate from IDNA2003 to UTS 45 Apr 16, 2014
@smola
Copy link
Owner Author

smola commented Apr 16, 2014

@sideshowbarker Thanks for the heads up.

http://icu-project.org/apiref/icu4j/com/ibm/icu/text/IDNA.html#getUTS46Instance(int)

ICU4J supports UTS 46 after all. I'll look into it. It's a pity to drop the "zero dependencies" claim, but it seems the only sane way to do it.

@sideshowbarker
Copy link
Contributor

Good to hear that ICU4J supports UTS 46. Yeah it would be nice to have zero dependencies but I reckon a lot of target apps that'd use galimatias are probably already using ICU4J too. At least I can say that the validator is. So for me it wouldn't be introducing any new dependency

@smola smola closed this as completed in 5ce2cb9 Jul 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants