[Python-Dev] urllib unicode handling (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Wed May 7 21:10:00 CEST 2008
- Previous message: [Python-Dev] urllib unicode handling
- Next message: [Python-Dev] urllib unicode handling
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
If this is indeed the case, it sounds perfectly legal (according to the RFC) and perfectly practical (as required by numerous popular websites) to have urllib.quote and urllib.quoteplus do an automatic UTF-8 encoding of unicode strings before percent encoding them.
It's probably legal, but I don't understand why you think it's practical. The DNS lookup then will certainly fail, no?
Regards, Martin
- Previous message: [Python-Dev] urllib unicode handling
- Next message: [Python-Dev] urllib unicode handling
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]