Encoding/decoding of Internationalized Domain Names (IDNs)