def parse_http_list(u):
 encoded_str = u.encode('utf-8')
 encoded_list = urllib2.parse_http_list(encoded_str)
 return [s.decode('utf-8') for s in encoded_list]

def parse_http_list ( u ) : encoded_str = u . encode ( 'utf-8' ) encoded_list = urllib2 . parse_http_list ( encoded_str ) return [ s . decode ( 'utf-8' ) for s in encoded_list ]
a unicode-safe version of urllib2 .