You may be interested in Unicode Technical Standard #46: Unicode IDNA Compatibility Processing:
https://unicode.org/reports/tr46/
Thanks
Thanks