matplotlib/matplotlib — pull request #1879 by tomspur (2013-04-03 00:20:54+00:00)
Title: Decode subprocess output to utf-8 or regex will fail

This is an alternative fix for issue #1767, which changes the regular expression to bytes instead. But that will fail later on in `if os.path.splitext(file)[1][1:] in fontexts`, as fontexts will then be a set of strings and the former will be the current extension, but in bytes.

After this patch both will be strings and anything works here for me so far.

The RH bug for this is at:
https://bugzilla.redhat.com/show_bug.cgi?id=928326