https://wiki.mozilla.org/IDN_Display_Algorithm#Algorithm https://bugzilla.gnome.org/show_bug.cgi?id=791168