matplotlib/matplotlib — pull request #3575 by frutiger (2014-09-27 16:16:05+00:00)
Title: Supports locale-specified encoding for rcfile.

This commit fixes issue #1317. The locale for the encoding is obtained from
the Python `locale` module, which can be specified by the `LANG` environment
variable.

This was tested by adding a test rc file encoded in UTF-32-BE, and testing that
it decoded correctly.