Steveb1968 / script.pseudotv

Channel surfing for your video library
Other
79 stars 27 forks source link

Set setdefaultencoding() to utf-8 #38

Closed rafaelvieiras closed 5 years ago

rafaelvieiras commented 5 years ago

This fix issue #33

I just add setdefaultencoding to utf-8. Now, python can be read playlist/channels with Áéíóú in name file.

Steveb1968 commented 5 years ago

Hi mate, yes I know about the.. reload(sys) sys.setdefaultencoding('utf-8') I've used it before in testing. I have a commit to hopefully fix the encoding when writing files but I can pull this in as a stop gap. I don't really want to use such a blanket sys mod like this but its ok until I get it fixed.

rafaelvieiras commented 5 years ago

I understand about this, but I think this is a good temp solution for this issue!

Thanks @Steveb1968 for aproove my PR.