summaryrefslogtreecommitdiff
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-06-04 19:51:06 +0000
committerR. David Murray <rdmurray@bitdance.com>2010-06-04 19:51:06 +0000
commite7e505ba6e2ba1768ba81e9dde652b6aff34c386 (patch)
tree34592df5dc9e94b983f36d379bbcc26a80488054 /Python/codecs.c
parenteba67c0eac27cfafb779372ef82de09aefcca262 (diff)
downloadcpython-git-e7e505ba6e2ba1768ba81e9dde652b6aff34c386.tar.gz
#4487: have Charset check with codecs for possible aliases.
Previously, unexpected results occurred when email was passed, for example, 'utf8' as a charset name, since email would accept it but would *not* use the 'utf-8' codec for it, even though Python itself recognises that as an alias for utf-8. Now Charset checks with codecs for aliases as well as its own internal table. Issue 8898 has been opened to change this further in py3k so that all aliasing is routed through the codecs module.
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions