Re: Setting the encoding in the basic auth header

2007-06-11 Thread Siddharta .
On Jun 12, 11:20 am, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > As a further follow-up, see > > https://bugzilla.mozilla.org/show_bug.cgi?id=41489 > Wow, thanks a lot for the link. Just had a look at it. The thread runs from 2000 to 2007!! 7 years!! What a complete mess :) Guess I'll just hav

Re: Setting the encoding in the basic auth header

2007-06-11 Thread Martin v. Löwis
> It seems that both browsers are using the iso-8859-1 charset. Is there > any way I can get them to encode the data with utf-8 instead? As a further follow-up, see https://bugzilla.mozilla.org/show_bug.cgi?id=41489 They explain that *TEXT is defined in RFC 2616, which specifies that non-ASCII c

Re: Setting the encoding in the basic auth header

2007-06-11 Thread Martin v. Löwis
> When I enter character \xf1 as the username which is outside ascii but > within iso-8859-1 > > Firefox 2.0 sends this as \xf1 > IE 7 also sends this as \xf1 > But the utf-8 encoding is \xc3\xb1 > > If I enter character 0BA4 (TAMIL LETTER TA) which is outside > iso-8859-1 > > Firefox 2 sends th

Setting the encoding in the basic auth header

2007-06-11 Thread siddhartag
This is not strictly a python question, but I'm hoping someone here has come across a similar situation. I have a django app and I've protected some views with basic authentication. The user can use any unicode character in the username and password fields. When this happens, the data is not prope