﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
5867	Python default encoding would be _really_ useful in Unicode documentation	develbob@…	nobody	"While upgrading Django we collided upon a numberous amount of Unicode errors only to find, after looking for a long time, that there was a simple and easy way out; by setting the default encoding for Python. This can simple be done by dropping the following snipplet somewhere in the Python path:

{{{
# sitecustomize.py
# this file can be anywhere in your Python path,
# but it usually goes in ${pythondir}/lib/site-packages/
import sys
sys.setdefaultencoding('iso-8859-1')
}}}


We feel that it would be really useful to mention this in the Unicode page of the Django documentation. The script itself we have found on [http://www.diveintopython.org/xml_processing/unicode.html]."		closed	Documentation	dev		invalid	unicode default encoding	develbob@…	Unreviewed	1	0	0	0	0	0
