[Patches] [Patch #102364] Fix for119822: Allow Unicode in urllib

noreply@sourceforge.net noreply@sourceforge.net
Sun, 12 Nov 2000 05:11:10 -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.

-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=102364&group_id=5470