[Patches] [Patch #102364] Fix for119822: Allow Unicode in urllib
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 13 Nov 2000 00:41:04 -0800
Patch #102364 has been updated.
Project: python
Category: library
Status: Open
Summary: Fix for119822: Allow Unicode in urllib
Follow-Ups:
Date: 2000-Nov-12 03:09
By: loewis
Comment:
This fixes the bug by explicitly converting Unicode strings to ASCII. I could find no indication in the RFCs that anything but ASCII is allowed in URLs.
The size of the patch primarily originates from the renaming of the type local variable to urltype, so that the builtin type function is available.
-------------------------------------------------------
Date: 2000-Nov-12 05:11
By: lemburg
Comment:
There are movements which want to add UTF-8 support to URLs.
I don't know if there already are RTFs on this, but since even
MS Explorer supports this, I guess the movement must be strong ;-)
It does seem to be the natural coice and DNS is moving in that
direction too.
-------------------------------------------------------
Date: 2000-Nov-13 00:41
By: loewis
Comment:
Looking at http://www.ietf.org/ids.by.wg/idn.html, there is hardly any consensus on how to do internationalized domain names.
As for Unicode in URLs, there is not even an Internet Draft proposing usage of UTF-8. So I'd propose to follow established standards, until drafts for new standards come available.
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://sourceforge.net/patch/?func=detailpatch&patch_id=102364&group_id=5470