Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed an issue with unicode being mangled in Oracle when the database…

… character set is non-unicode.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit faf16098516613c7e1f67d48ad7d1d927a0203af 1 parent 0b9a855
@ikelly ikelly authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 django/db/backends/oracle/
4 django/db/backends/oracle/
@@ -14,6 +14,10 @@
# Oracle takes client-side character set encoding from the environment.
os.environ['NLS_LANG'] = '.UTF8'
+# This prevents unicode from getting mangled by getting encoded into the
+# potentially non-unicode database character set.
import cx_Oracle as Database
except ImportError, e:
Please sign in to comment.
Something went wrong with that request. Please try again.