Hi,
I have problem with saving special signs (a.g.  swedish åäö) in my SQlite
database. When I,am  reading about Django and the SQLite database it sais it
should be possible to use UTF-8 signs. But it does not work for me.

I dont't think it is the database settings that is the problem, because I
have downloaded a forum application where I can use swedish signs.

My classes looks like this:

********************************************
from django.db import models
import datetime

class myClass(models.Model):
    testField1 = models.TextField()
    testField2  = models.TextField()

    def __unicode__(self):
        return self. testField1

*********************************************

I,am getting the following error message when I,am trying to add a swedish
sign:
"'ascii' codec can't encode character u'\xe4' in position 4: ordinal not in
range(128)"


I,am using Django 1.0.2.


Plz help me!:)


Best regards
Daniel

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to