More robust guess of input/output encoding.
commit909939571864a305981ef83d112ddc4596cb4744
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)
tree4fe65426b6d23dda108ed1d7a00b0359cac5c2ab
parenta21bfc4b2ef47ec3e34badaf829db5163dfe2665
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: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7023 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docs/dev/todo.txt
docutils/core.py
docutils/frontend.py
docutils/utils.py