i use the Idna.toAscii fun to convert a site name www.中国.中国(the tld is also has unicode chars).
the result was www.xn--fiqs8s.xn--fiqs8s
I used the Idna.toUnicode fun to convert the above punycode back to the unicode characters.
but i got only www.中国.xn--fiqs8s The toUnicode fun is ignoring the tld part.
Is there any way to over come this?