WebEPG decapitalization problem (1 Viewer)

BugsBunny

Portal Pro
April 22, 2006
214
25
Tirol
Home Country
Austria Austria
MediaPortal Version: 1.0.2
MediaPortal Skin: Blue3 wide
Windows Version: XP Pro SP3
CPU Type: Intel Core 2 Duo E6600
HDD: 1) OCZ Vertex 30GB 2)WD RE4 GP 2TB
Memory: 2 x 2048MB Kingston DIMM 4GB PC2-6400
Motherboard: ASUS P5B-E
Video Card: Point of View GeForce 9500GT 512MB
Video Card Driver: ForceWare 178.24
Sound Card: ESI Juli@
Sound Card AC3: ESI Juli@
Sound Card Driver: v1.23
1. TV Card: FloppyDTV DVB-C/CI
1. TV Card Type: DVB-C
1. TV Card Driver: 5.2.N BETA
2. TV Card: FloppyDTV DVB-S2
2. TV Card Type: DVB-S2
2. TV Card Driver: 5.2.N BETA
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
h.264 Video Codec: CoreAVC 185
Satelite/CableTV Provider: Astra 19.2°E/Hotbird 13°E
HTPC Case: Zalman HD160
Cooling: Noctua NH-U9F / Noctua NC-U6 / NF-R8
Power Supply: Seasonic SS-301HT
Remote: MCE over IRTrans
TV: Sharp Aquos LC-46 XD1E
TV - HTPC Connection: HDMI

I did make a grabber for RTPI - see xml. In the WebEPG Designer and on the web page where I grab the data unfortunately every title is written in CAPITAL letters. It's great that the WebEPG grabber seems to remove this in the way that every word starts with a capital letter only. :D
But here's the problem: it seems the routine does not handle some portuguese letters correctly à should become ã, Ç -> ç ...

Here's an extract of the webEPG.log
Code:
2009-10-19 20:45:11.701625 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20091019190000 - Portugal Em Directo
2009-10-19 20:45:11.701625 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20091019200000 - Paix�Es Proibidas
2009-10-19 20:45:11.701625 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20091019210000 - Telejornal
2009-10-19 20:45:11.717250 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20091019220000 - Notas Soltas
2009-10-19 20:45:11.717250 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20091019221500 - Jogo Duplo
2009-10-19 20:45:11.717250 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20091019231500 - Magazine Eua Contacto - N. Inglat
2009-10-19 20:45:11.717250 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20091019234500 - Pr�S E Contras
But maybe I just selected some wrong codepage in the www_rtpi_pt.xml (utf-8) :confused:
 

Attachments

  • WebEPG_Designer.jpg
    WebEPG_Designer.jpg
    88.7 KB
  • www_rtpi_pt.xml
    30.6 KB

arion_p

Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    Your grabber has 2 problems:
    1. In your xml declaration you specify that your grabber is saved in utf-8 encoding but it is actually saved in iso-8859-1. To save in utf-8 from notepad select File|Save As... and select UTF-8 in Encoding.
    2. You specify that the site returns pages in utf-8 but Rádio e Televisão de Portugal seems to only support iso-8859-1. You can check by navigating to the site with your browser and checking encoding (right-click->Page Info for FF, right-click-> Encoding for IE)

    I have attached a fixed version of your grabber.
     

    Attachments

    • www_rtpi_pt.xml
      30.6 KB

    BugsBunny

    Portal Pro
    April 22, 2006
    214
    25
    Tirol
    Home Country
    Austria Austria
    Thanks a lot - maybe these two things can be added somewhere in the wiki/guide? Fixed my other grabbers I made now as well and will repost/post them.
     

    Users who are viewing this thread

    Top Bottom