From 08b85de9b7a8940702dba9348b642538da888c6c Mon Sep 17 00:00:00 2001 From: Niclas Olofsson Date: Sat, 26 Jul 2014 13:36:40 +0200 Subject: [PATCH] Fixed #22305 -- Added note to docs about UTF8 database requirement. --- docs/ref/databases.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index 8dec974817..69833240a3 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -79,6 +79,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