Encoding problem with MP2 (1 Viewer)

longkerdandy

Portal Member
July 21, 2008
4
1
1. When I try to compile MP2 from github, two files "MediaPortal.UI.Players.Video.Subtitles.TextConversion" and "MediaPortal.UI.SkinEngine.Controls.Visuals.CellPhoneTextInputHandler" complains about encoding related error.
They contain non-ansi characters, and in my machine (not sure if there any git config problem) both file has the "Western 1252" encoding.They should be saved into UTF-8, or a better way may use unicode escape like "\uXXXX" instead of hardcode.

2. Runing compiled MP2 client, it seems can't display Unicode characters well. I have Chinese names in my directory path and they can't displayed. Also there is a setting for language, but most options don't display well. Do I miss any configuration?
 

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    AW: Encoding problem with MP2

    hi,

    thanks for reporting. the first part I can check.

    the second problem could be related the the chosen font for the default skin. if it has no unicode support, MP2 can't show the characters properly (IIRC there was a similiar thread already). you might try to modify the default skin config to use another unicode enabled font (for rising skin I changed the font as well).
     

    Users who are viewing this thread

    Top Bottom