Encodes and decodes a domain name using the punycode method. This method is designed to convert domains containing national language characters into ACE sequences, which consist only of alphanumeric characters, as allowed in domain names. Example: «мой-сайт.рф» → «xn----8sbzclmxk.xn--p1ai» and vice versa «xn----8sbzclmxk.xn--p1ai» → «мой-сайт.рф».