Message183144
| Author |
marten |
| Recipients |
marten, r.david.murray |
| Date |
2013年02月27日.12:25:20 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1361967921.28.0.159900563513.issue17305@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
At least from the GNU people, two separate projects exists for this matter:
libidn, the original IDNA translation (http://www.gnu.org/software/libidn/)
libidn2, the IDNA2008 translation (http://www.gnu.org/software/libidn/libidn2/manual/libidn2.html)
Btw.: Does Python provide a way to decode the ASCII-representation back to UTF-8?
>>> name.encode('idna')
'xn--mller-kva.com'
>>> name.encode('idna').decode('utf-8')
u'xn--mller-kva.com'
Otherwise I'd look for Python bindings of libidn2 or idnkit-2. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年02月27日 12:25:21 | marten | set | recipients:
+ marten, r.david.murray |
| 2013年02月27日 12:25:21 | marten | set | messageid: <1361967921.28.0.159900563513.issue17305@psf.upfronthosting.co.za> |
| 2013年02月27日 12:25:21 | marten | link | issue17305 messages |
| 2013年02月27日 12:25:20 | marten | create |
|