Where is the display profile from x/net/idna defined

72 views
Skip to first unread message

Sam Whited

unread,
Apr 4, 2021, 9:03:10 AM4/4/21
to golan...@googlegroups.com
Hi all,

Does anyone know where the Display profile from x/net/idna [1] is
defined?

I thought it corresponded to the rules defined in RFC 5895 [2], but it
also appears to apply the Bidi rule and some other things not defined
there. Unlike the other profiles the Display one has no comment saying
where it's defined.

Thanks for the help.

—Sam

[1]: https://pkg.go.dev/golang.org/x/net/idna#Display
[2]:https://tools.ietf.org/html/rfc5895

--
Sam Whited

jake...@gmail.com

unread,
Apr 5, 2021, 11:58:00 AM4/5/21
to golang-nuts
I'm guessing you want to know where the behavior is documented? That I do not know.

But in case you literally want to know where it is defied, look at : https://github.com/golang/net/blob/0fccb6fa2b5ce302a9da5afc2513d351bd175889/idna/idna10.0.0.go#L265

Sam Whited

unread,
Apr 6, 2021, 9:30:28 AM4/6/21
to golan...@googlegroups.com
Yes sorry, I mean "where is it documented". The other profiles all list
the RFC from which the rules are taken, but this one does not.

—Sam
Reply all
Reply to author
Forward
0 new messages