MP crashes due to wrong character conversion (1 Viewer)

NikeNeGerek

Portal Pro
October 21, 2008
58
4
Istanbul
Home Country
Turkey Turkey
Before loading files, MP converts all the filenames to lowercase, and uses the system's localization settings in order to do that.

But this may give wrong results in Turkish. We have some localized characters that are not available in western character coding. Because of that, the "I" character's lowercase is "ı" in Turkish. When MP converts a "I", it is converted to "i" in western coding, but "ı" in turkish system. There may be some other codepage problems in other languages.

This conversion causes an error, and MP cannot be started. This is the error line in Mediaportal.log;

Exception: System.IO.FileNotFoundException: c:\program files\team mediaportal\mediaportal\skin\blue3\media\newmailıcon.png​

The filename is "NewMailIcon.png", is converted to "newmailıcon.png", and should be converted to "newmailicon.png". This is just an example, exception is thrown for all the filenames that includes capital "i".

OK, i've attached a logfile. Not from my HTPC, but the problem is the same.

TV-Server Version:
MediaPortal Version: 1.3
MediaPortal Skin: Aeon Wide
Windows Version: XP w/SP3
CPU Type: AMD X2 5000+
HDD: Seagate 500GB Sata2
Memory: Kingston 3GB DDR2 800Mhz
Motherboard: Gigabyte MA78GM-S2H
Video Card: O/B
Video Card Driver: Catalyst 8.5
Sound Card: O/B
Sound Card AC3:
Sound Card Driver:
1. TV Card:
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
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:
Satelite/CableTV Provider:
HTPC Case: A+ CS-GL3
Cooling: Stock Cooler
Power Supply: Asus 400W
Remote: MS MCE Remote
TV: Philips 42PFL5603D
TV - HTPC Connection: HDMI
 

ronilse

Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Attach logs when posting bugs, collect them with "MediaPortal Logs Collector" found in Start menu -> MediaPortal.

    Btw, what country are you from(win install)?

    Regards
    Roy
     

    NikeNeGerek

    Portal Pro
    October 21, 2008
    58
    4
    Istanbul
    Home Country
    Turkey Turkey
    Attach logs when posting bugs..
    Roy

    Hi ,

    Will do that the second i get home, but i know the problem is above. When i change the file's name from "I" to "i", MP doesnt give the error. But i have to do this, every time i install a MP, or a new skin.

    I'm in Turkey, using English version of Windows XP w/SP3.
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Hmmm, wasn't this bug fixed/worked around (i'll check with that). It's a win covertion bug when "I" to lower case "i" with a missing dot above........

    Regards
    Roy
     

    Users who are viewing this thread

    Top Bottom