Questions tagged [idna]
1 questions
0
votes
1 answer
IDNA Encode Adding Apostrophes and letter B?
I am using the IDNA library to encode/decode unicide domain names but when I encode a domain name, it adds apostrophes either side of the string and prepends the letter b?
For example:
import idna
print(idna.encode('español.com'))
Output:…

Mr Fett
- 7,979
- 5
- 20
- 21