IDNA does not work both ways
The error "IDNA does not access there" means that the module receives a different result when decoding and encoding the string.
In the error message, you will also get the two lines you tried to compare, in the first example:
UnicodeError: ('IDNA does not round-trip', 'xn--grohandel-shop-2fb', 'grosshandel-shop')
You get the error because it converted ß
to "großhandel-shop" on ss
to "grosshandel-shop". The symbol ß
was added to .de
-tld at the end of 2010 , so this is a bug. Before the change ß
had to be changed to ss
.
Your second example is probably corrupted because it converts to: "đsottĤmqĐqǗoĔ ⢠5"
source to share