Oracle 11g unicode test failure?

5 views
Skip to first unread message

Ian Kelly

unread,
Dec 18, 2009, 5:44:52 PM12/18/09
to django-d...@googlegroups.com
We just changed our test database to Oracle 11gR2 and discovered that
the unicode test case in the basic test is now failing. This may just
be something wrong with our installation, because we're seeing the
same problem performing the same test through sqlplus, whereas it
works agains Oracle 10g XE. It happens on two different 11g
databases, however, and I wanted to check whether anybody else with an
11g database is seeing the same thing.

The failure looks like this:

File "/home/ikelly/projects/django.trunk/tests/modeltests/basic/models.py",
line ?, in modeltests.basic.models.__test__.API_TESTS
Failed example:
Article.objects.get(pk=a.id).headline
Expected:
u'\u6797\u539f \u3081\u3050\u307f'
Got:
u'\xbf\xbf \xbf\xbf\xbf'

Thanks,
Ian

Karen Tracey

unread,
Dec 18, 2009, 6:56:29 PM12/18/09
to django-d...@googlegroups.com

That is one of the errors I get on my Oracle 10g XE install.  I always figured it was something misconfigured, but never tracked it down. (I know nothing much of Oracle but wanted a test install of it to make sure I didn't break anything when I was working on the transaction test speedup stuff for 1.1.)

Karen
Reply all
Reply to author
Forward
0 new messages