Hi Karen,
thanks for investigating...
I solved the problem.
There were 2 reasons:
- php code non passing correct encoded POST
- urllib.unquote_plus not working as expected
and not for last that the raw_post_data is not decoded and a POST var is...
(my blindness)
Thanks again for your help.
-- H
On Thu, Nov 26, 2009 at 7:03 AM, Hinnack wrote:
> Hi Karen,
>
> thanks again for your reply.
> I use Aptana with pydev extension.
> Debugging the app shows the following for search:
> dict: {u'caption': u'f\\xfcr', u'showold': False}
>
>
That's confusing to me, because other than having an extra \
Hi Karen,
thanks again for your reply.
I use Aptana with pydev extension.
Debugging the app shows the following for search:
dict: {u'caption': u'f\\xfcr', u'showold': False}
and for qs:
str: für
although it seems to be � instead of ASCII 252 - but this could be,
because I am sitting on a MAC
whil
On Wed, Nov 25, 2009 at 1:54 AM, Hinnack wrote:
> Hi Karen,
>
> thanks for your reply
>
> it means so far I must do a:
> qs = search[query].encode('iso-8859-1')
>
> before I add the qs to a Q object of a queryset. Only in this case I get
> results.
>
> the full codepart looks like:
>
> decoder = s
Hi Karen,
thanks for your reply
it means so far I must do a:
qs = search[query].encode('iso-8859-1')
before I add the qs to a Q object of a queryset. Only in this case I get
results.
the full codepart looks like:
decoder = simplejson.JSONDecoder()
search = decoder.decode(request.POST['search']
On Tue, Nov 24, 2009 at 5:57 AM, Hinnack wrote:
> Hi,
>
> I have django 1.1 and a mysql database created in utf-8.
> My tables are also utf8 as the collation is, too.
>
> Showing data in a view works pretty well with german umlaute, but doing
> a search with filter and icontains always returns an
Hi,
I have django 1.1 and a mysql database created in utf-8.
My tables are also utf8 as the collation is, too.
Showing data in a view works pretty well with german umlaute, but doing
a search with filter and icontains always returns an empty queryset...
if I convert the search back to iso-8859 I
7 matches
Mail list logo