I can't explain the additional space, but URL-encoding a Unicode string
isn't generally possible, it needs to be encoded first. UTF-8 is almost
always the correct encoding to use, so in your case:
qk = quote(query_text.encode('utf8'))
Anything you can do to avoid having to include text like th
On Mon, 2007-08-20 at 17:27 +, arthur debert wrote:
> Hi Rob.
>
> After the unicode branch merge django expects and produces unicodes
> objects throughout.
>
> A detail how to port guide is here:
> http://code.djangoproject.com/wiki/UnicodeBranch#PortingApplicationsTheQuickChecklist
>
> In
Hi Rob.
After the unicode branch merge django expects and produces unicodes
objects throughout.
A detail how to port guide is here:
http://code.djangoproject.com/wiki/UnicodeBranch#PortingApplicationsTheQuickChecklist
In this specific case, you can call "lower" directly on your unicode
object:
3 matches
Mail list logo