Ok, I think this code snippet enough to show what i said; ===================================
#!/usr/bin/env python # -*- coding: utf-8 -*- #Change utf-8 to latin-1 #Or move variable decleration to another file than import it val='00090±NO:±H±H±H±H±' from urllib import urlencode data={'key':val} print urlencode(data) =================================== -- http://mail.python.org/mailman/listinfo/python-list