- From: Bassam Tabbara <bassamt@windows.microsoft.com>
- Date: Thu, 12 Jul 2007 12:43:01 -0700
- To: "public-sml@w3.org" <public-sml@w3.org>, "plp@w3.org" <plp@w3.org>, "cmsmcq@w3.org" <cmsmcq@w3.org>
Received on Thursday, 12 July 2007 22:43:49 UTC
I've done the investigation on whether .NET FX 2.0 support IRI in the System.Uri class. Here are my findings: Comparing two Unicode strings with non-ascii characters: Uri uriA = new Uri("http://www.zürich.com"); Uri uriB = new Uri("http://www.zürich.com"); // returns true bool doesCompare = uriA.Equals(uriB); Comparing two Unicode strings with punycode: Uri uriA = new Uri("http://www.zürich.com"); Uri uriB = new Uri("http://www.xn--zrich-kva.com"); // returns false bool doesCompare = uriA.Equals(uriB); Thanks! Bassam
Received on Thursday, 12 July 2007 22:43:49 UTC