Re: ORM, Oracle and UTF-8 encoding problem.
9.1.2013 19:21, Ian Kelly kirjoitti:
> On Wed, Jan 9, 2013 at 3:55 AM, Jani Tiainen <redetin@gmail.com> wrote:
>> Server is running Oracle Database 10g Release 10.2.0.5.0 - 64bit Production.
>> (EE edition)
>>
>> and charset info:
>> NLS_CHARACTERSET WE8ISO8859P1
>> NLS_NCHAR_CHARACTERSET AL16UTF16
>
> Sorry, I meant your web server setup.
>
Windows 7, development server.
Staging server Ubuntu something (propably 10.04 LTS) 64bit
And symptoms were consistent. For some reason Django does something bad
when it uses smart_str (and whatever that is in 1.5).
If we just force using force_unicode everything works except in older
versions of cx_Oracle (our server had 5.0.4 or something) connection
strings can't be unicode for some reason.
--
Jani Tiainen
- Well planned is half done and a half done has been sufficient before...
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home