Las codificaciones de caracteres (character encoding) son la mayor patraña jamás inventada, gracias a dios se inventó Unicode, con sus variantes UTF-8 y UTF-32. Para mi, UTF-8 es, y debería ser el estándar para guardar o enviar cadenas de texto. Los lenguajes de programación, python incluido, no deberían soportar otra cosa que no fuera UTF-8 [...]
Category > Python
http_build_query para Python
Para quien le sirva, me he pasado un rato haciendo una función en python que fuera equivalente a http_build_query de PHP. ## # Mimics the behaviour of http_build_query PHP function # This method can be useful for sending data to flash applications ################################################## def http_build_query(params, topkey = ”): from urllib import quote if len(params) [...]

English