rg3/youtube-dl — pull request #368 by Asido (2012-07-01 16:28:51+00:00)
Title: Simplified preferredencoding()

Not sure what is the point to use yield to return encoding, thus
it will simplify the whole function.

Signed-off-by: Arvydas Sidorenko