Ivan Sagalaev wrote:
> Michael Radziej wrote:
>>
>> I don't see a problem with the generic views since they pass bytestrings
>> to the database wrapper, this gets as bytestrings to MySQLdb, and for
>> bytestrings the charset attribute is not used at all.
> 
> Umm... This is the exact problem with byte strings: that they require
> knowledge of a charset somewhere.

Yep; it's a problem on the way back in. Python won't let you interpolate 
encoded bytestrings and unicode; you have to state the encoding. Ivan - 
could the db encoding be declared in settings.py?

cheers
Bill

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to