summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNiclas Olofsson <n@niclasolofsson.se>2014-07-26 13:36:40 +0200
committerTim Graham <timograham@gmail.com>2014-07-26 09:40:31 -0400
commit1c714c18d22a38ad2dca696ca8bc4201cc3da131 (patch)
treeb42e6a8b0bbd3f0452f080d973499bb2293c64f9 /docs
parent2630cafc86bf6cc86ec8b47f0074b42f45b1f944 (diff)
[1.6.x] Fixed #22305 -- Added note to docs about UTF8 database requirement.
Backport of 08b85de9b7 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/databases.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
index e2cd7e3d05..2f1a17058c 100644
--- a/docs/ref/databases.txt
+++ b/docs/ref/databases.txt
@@ -81,6 +81,14 @@ either restore Django's defaults at the end of each request, force an
appropriate value at the beginning of each request, or disable persistent
connections.
+Encoding
+--------
+
+Django assumes that all databases use UTF-8 encoding. Using other encodings may
+result in unexpected behavior such as "value too long" errors from your
+database for data that is valid in Django. See the database specific notes
+below for information on how to set up your database correctly.
+
.. _postgresql-notes:
PostgreSQL notes