Hello,
I have this code:
foo = bar.objects.filter(status=True).extra(select={ 'litera' :
'LEFT(CONCAT(pseudonim, nazwisko), 1)' })
and it gives me an error:
'utf8' codec can't decode byte 0xc5 in position 0: unexpected end of
data
when there is in database record starting with polish char "Ł".
Everything works ok, except that extra select. There is declared utf-8
coding in views.py.
Any suggestions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---