edvin
02/16/2017, 12:27 PMIDN.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...