Git Product home page Git Product logo

Comments (4)

smola avatar smola commented on July 17, 2024

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

from galimatias.

sideshowbarker avatar sideshowbarker commented on July 17, 2024

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

from galimatias.

smola avatar smola commented on July 17, 2024

@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.

from galimatias.

sideshowbarker avatar sideshowbarker commented on July 17, 2024

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

from galimatias.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.