Hello, I am wondering if it is possible for me to specify the encoding to use for a postgresql database in the settings.py
Going through the django documentation I could find how I could specify it for mysql. (http://docs.djangoproject.com/en/dev/ref/databases/) Tried google, but... !! My issue is when I try and save a unicode string into the database it is converted to \uXXXX where X is the unicode code points. Because of this, say a VARCHAR field I need to multiply the required length by 4, to fit in a unicode string. Hence I need to change the database encoding to Unicode. Since django auto creates my database, I am looking for a way to specify the same in the settings.py file. Cheers ThinRhino -- 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.