logo
Header graphic 7 of 9

Categories

Archives

Other stuff

Other sites

I wish this site were powered by Django

August 31st, 2006

Django 0.95 has unicode problems, too

Filed under: Django, Python, Technology, Web — jm @ 04:48

I had to revise my post titled “UTF8-encoded Unicode support“, because I found out that django’s unicode support has it’s own problems. Some are, of course, connected to the character-set handling of their database code, but generally they currently handle all strings as binary, assuming that everything works within the DEFAULT_ENCODING setting.

That way, foreign character sets can break functions (#1355) in django and even worse, you can’t hook up a legacy database that uses a different character-set without patching the database driver. At least, current work on SQLAlchemy integration might make that less of a concern. I’m just hoping that django 1.0 will include full unicode support. For more information read the update on the old post.

Update (02/15/2008)

Django has come a long way since this post. An update can be found here.

One Response

  1. The state of Django and Unicode support » Jonas Maurus’ maurus.net

    [...] still get a lot of traffic from my post Django 0.95 has unicode problems, too, but a lot has changed since then. So I’ll try and give a short [...]