Re: url encode latin-1 characters

2006-07-23 Thread John Machin
Lurker wrote: > I want send latin-1 string to web server by url parameter > > urllib.quote return just symbol code with preceeding percent for every > non-ascii character: > #>ustr = 'Ü' > #>urllib.quote(ustr) > '%9A' > The latin1 encoding for U-with-umlaut is 0xDC. The cp850 encoding for the sam

url encode latin-1 characters

2006-07-23 Thread Lurker
I want send latin-1 string to web server by url parameter urllib.quote return just symbol code with preceeding percent for every non-ascii character: #>ustr = 'Ü' #>urllib.quote(ustr) '%9A' but this seems to be wrong because server response contains my parameter and it differ from original (for e