I think I've found a bug in the JDK function `IDN....
# tornadofx
e
I think I've found a bug in the JDK function
IDN.toASCII
which converts ASCII to punycode. If I run
IDN.toASCII("bben3‐<http://no.mail.protection.outlook.com|no.mail.protection.outlook.com>")
it spits out
<http://xn--bben3no-906c.mail.protection.outlook.com|xn--bben3no-906c.mail.protection.outlook.com>
, even though all the characters are ASCII in the original string. It's the
3
followed by hyphen that causes the issue. Weird...