Skip to content

Commit 3d657a9

Browse files
committed
Update Punycode documentation
1 parent dfffb11 commit 3d657a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ import okio.ByteString.Companion.encodeUtf8
2525
* This class contains a Kotlin implementation of the pseudocode specified by RFC 3492. It includes
2626
* direct translation of the pseudocode presented there.
2727
*
28-
* Partner this class with [Stringprep] to implement IDNA [RFC 3490].
28+
* Partner this class with [UTS #46] to implement IDNA2008 [RFC 5890] like most browsers do.
2929
*
30-
* [RFC 3490]: https://datatracker.ietf.org/doc/html/rfc3490
3130
* [RFC 3492]: https://datatracker.ietf.org/doc/html/rfc3492
31+
* [RFC 5890]: https://datatracker.ietf.org/doc/html/rfc5890
32+
* [UTS #46]: https://www.unicode.org/reports/tr46/
3233
*/
3334
object Punycode {
3435
val PREFIX_STRING = "xn--"

0 commit comments

Comments
 (0)