[Python-Dev] urllib.quote and unquote - Unicode issues

Jeroen Ruigrok van der Werven asmodai at in-nomine.org
Sun Jul 13 00:28:01 CEST 2008


-On [20080712 19:27], Matt Giuca (matt.giuca at gmail.com) wrote:
>Basically, urllib.quote and unquote seem not to have been updated since Python
>2.5, and because of this they implicitly perform Latin-1 encoding and decoding
>(with respect to percent-encoded characters). I think they should default to
>UTF-8 for a number of reasons, including that's what other software such as web
>browsers use.

Very nice, I had this somewhere on my todo list to work on. I'm very much
in favour, especially since it synchronizes us with the RFCs (for all I
remember reading about it last time).

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Can your hear the Dolphin's cry..?


More information about the Python-Dev mailing list