Answer the question
In order to leave comments, you need to log in
How to detect and convert Punycode in url?
There are many different url addresses, they also contain Cyrillic host names.
How to understand that a given URL has a host in Punycode, so that later it can be decrypted from Punycode using System.Globalization.IdnMapping?
Answer the question
In order to leave comments, you need to log in
Domain names in punycode begin with "xn--"
And each segment is separate, including zero.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question