Use getpreferredencoding() instead of getdefaultlocale()
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>
Wed, 22 Apr 2009 20:57:21 +0000 (22:57 +0200)
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:24:08 +0000 (11:24 +0100)
commit2f4d18a9f78f9d18635c6047e56b33c689b8d026
tree35a27742b4ca50aca6120a0505122eaca5448c33
parentb0eddb2eb4b8cad325ba3224c8550a21f67e4315
Use getpreferredencoding() instead of getdefaultlocale()

This fixes issue #7 and is recommended after a bug report I made to the
Python team:

http://bugs.python.org/issue5815
youtube-dl