http://msdn.microsoft.com/en-us/library/system.uri.aspx
Цитата | To enable support for IRI, the following change is required:
Specify whether you want Internationalized Domain Name (IDN) parsing applied to the domain name and whether IRI parsing rules should be applied. This can be done in the machine.config or in the app.config file. For example, add the following:
Код | <configuration> <uri> <idn enabled="All" /> <iriParsing enabled="true" /> </uri> </configuration>
|
Enabling IDN will convert all Unicode labels in a domain name to their Punycode equivalents. Punycode names contain only ASCII characters and always start with the xn-- prefix. The reason for this is to support existing DNS servers on the Internet, since most DNS servers only support ASCII characters (see RFC 3940). ...
|
|