Norwegian characters in TVGuide (1 Viewer)

caid

Portal Member
November 25, 2007
13
1
Home Country
Norway Norway
TV-Server Version:
RC1
MediaPortal Version:
RC1
MediaPortal Skin:
Blue wide
Windows Version:
XP Sp2 NOR

Hi.
I have a problem displaying the norwegian characters ÆØÅ in my TVGuide/EPG, the are replaced with a "?". I got my tvguide/EPG from the RiksTV DVB-T stream. Does anyone have a solution for this?
 

ronilse

Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Did some tests here now & i have ÆØÅ in my radio guide(which is grabbet from dvb-t), can you when grabbing for a channel which shows ?? grab all logs & attach to your post?

    Regards
    Roy
     

    caid

    Portal Member
    November 25, 2007
    13
    1
    Home Country
    Norway Norway
    It seem like the "æ, ø, å / Æ, Ø, Å" characters in the EPG works fine on unscrambled channels, like the NRK channels. But on scrambled channels like TV2 they are replaced with a "?". Can it be a problem with my Conax CAM (TechniCrypt CXV)?

    In the epg log, they are replaced with a "х", when i search in the log with a regular keyboard input "x", it dosent match the "х" in the log...

    See second last line for an example, it says:
    2008-05-08 15:12:13.015625 [EPG Update thread]: -> 5/15/2008 10:00:00 AM-5/15/2008 2:00:00 PM Jill pх jobb

    But i think it should say:
    2008-05-08 15:12:13.015625 [EPG Update thread]: -> 5/15/2008 10:00:00 AM-5/15/2008 2:00:00 PM Jill på jobb
     

    Attachments

    • 1.PNG
      1.PNG
      301.5 KB
    • 3.PNG
      3.PNG
      235.7 KB

    caid

    Portal Member
    November 25, 2007
    13
    1
    Home Country
    Norway Norway
    Hi,
    Did some tests here now & i have ÆØÅ in my radio guide(which is grabbet from dvb-t), can you when grabbing for a channel which shows ?? grab all logs & attach to your post?

    Regards
    Roy

    What about your scrambled radio channels, like "Radio Norge" or "P4"?
     

    caid

    Portal Member
    November 25, 2007
    13
    1
    Home Country
    Norway Norway
    I have done some research with Transedit, and watched the EIT-table (Pid 18)

    The channels with working characters in the EPG uses this character table: 0x05 - Latin alphabet No. 5
    The channels with not working special characters uses this table: 0x10010 - West European

    I have added a hex dump with 500 packages from the EIT table and an XML-file from Transedit

    Working channels in the XML-file has this tag: <CharacterTable HValue="0x05" Name="Latin alphabet No. 5" />
    Not working channels has this: <CharacterTable HValue="0x10010" Name="West European" />

    Here is the ascii codes:
    æ - E6
    ø - F8
    å - E5
    Æ - C6
    Ø - D8
    Å - C5
     

    Attachments

    • RiksTv 738000.xml
      30.6 KB
    • Hexdump_PID_18 RiksTv 738000.txt
      30.7 KB

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Added this as a bug in Mantis & moved topic to TV Server bugs ;)

    Regards
    Roy
     

    caid

    Portal Member
    November 25, 2007
    13
    1
    Home Country
    Norway Norway
    :) I think I have a solution. :)


    See word document in attached rar file.
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    Please try again with the attached TvLibrary.Interfaces.dll
     

    caid

    Portal Member
    November 25, 2007
    13
    1
    Home Country
    Norway Norway
    Im not home rigth now, but i will try tomorrow. :)
     

    caid

    Portal Member
    November 25, 2007
    13
    1
    Home Country
    Norway Norway
    I have now tested the new file and i dosent work. Now i got "?" in the TvGuide on every channel. (The channels encoded in ISO-8859-9 worked fine before)

    So i did some testing on my own, looked at your code with reflector and changed the last line in the DvbTextConverter class from:
    PHP:
    return Encoding.GetEncoding(0xfde9).GetString(bytes);
    To:
    PHP:
    return Encoding.GetEncoding(0x6fb7).GetString(bytes);
    And now the TvGuide works fine for me....

    I have no idea why the ISO-8859-1 character table dosent work. According to wikipedia the norwegian spesial characters have the same ascii code in both ISO-8859-1 and ISO-8859-9
     

    Users who are viewing this thread

    Top Bottom