More robust guess of input/output encoding.
commit20f59ac3f92b12011a3a11a8ab1bd1bf201a6349
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Wed, 4 May 2011 20:51:59 +0000 (4 20:51 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Wed, 4 May 2011 20:51:59 +0000 (4 20:51 +0000)
tree6815e56a9e64eb07738d9820b0a6c9f9ff5a801a
parent33cd5fe874455ef68db363a76a48a5392f83a2c0
More robust guess of input/output encoding.

The locale encoding is stored as `frontend.locale_encoding` and
used in command line parsing and `default_error_encoding` before falling
back to "ascii".

git-svn-id: https://docutils.svn.sourceforge.net/svnroot/docutils/trunk@7023 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/docs/dev/todo.txt
docutils/docutils/core.py
docutils/docutils/frontend.py
docutils/docutils/utils.py