Message370634
| Author |
christian.heimes |
| Recipients |
Roman Akopov, SilentGhost, christian.heimes, ezio.melotti, vstinner |
| Date |
2020年06月02日.21:49:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1591134590.38.0.722075390837.issue40845@roundup.psfhosted.org> |
| In-reply-to |
| Content |
There are two IDNA standard. Python's standard library only provides IDNA 2003 and does not support IDNA 2008.
# IDNA 2003
>>> '\u13e3\u13b3\u13a9'.encode('idna')
b'xn--tz9ata7l'
# idna package with IDNA 2008
>>> idna.encode('\u13e3\u13b3\u13a9')
b'xn--f9dt7l'
The bug report is a duplicate of #17305. |
|