barry952 / xbmc-catchuptv-au

Automatically exported from code.google.com/p/xbmc-catchuptv-au
0 stars 0 forks source link

Unicode to latin-1 error on SBS #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Trying to access the "newest episodes" section

What is the expected output? What do you see instead?
Expected newest episodes, got an error instead.

What version of the plugin and XBMC are you using? On what operating system
and where?
0.1.1 on Ubuntu 10.10 and Windows 7 64-bit

Please provide any additional information below, and attach your XBMC log
if applicable.
I read through the log and found it was encode character u'\u2019' that only 
seems to show up in the title and description areas.
I have apparently fixed the problem by changing:
encode('iso-8859-1'))
to
encode('iso-8859-1', "replace"))
in the file "playlist.py"

This is related to issue 4.

Original issue reported on code.google.com by ihategoo...@hotmail.co.uk on 18 Jun 2011 at 2:43

Attachments:

GoogleCodeExporter commented 8 years ago
i fixed the Unicode to latin-1 problem with windows 7 XBMC and SBS player 
addon.py error by editing a file in 
C:\Users\useraccount\AppData\Roaming\XBMC\addons\plugin.video.catchuptv.au.sbs\r
esources\lib\playlist.py 

and replacing on line 50,51 " encode('iso-8859-1')), " with " 
encode('cp1252')), "

cheers
John

Original comment by john.g...@gmail.com on 19 Aug 2011 at 4:39