Hi!

I'm using an sqlite database with a model which has a Charfield named 
filepath.

I'm trying to store an "utf-8" string there. I tried passing it as a byte 
string and as a unicode object. Saving works fine, but if I try to access the 
field I'm always getting:

"Could not decode to UTF-8 column 'filepath' with text ....."

How do I correctly pass utf-8 strings to a model ? Could somebody give me 
hints how to solve this ?

Kind regards
Joseph Wenninger

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to