home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
Yle Areena
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="te3hpurp" data-source="post: 1227836" data-attributes="member: 82806"><p>Hi.</p><p></p><p>Thank You.</p><p></p><p>Workig pretty good, except subtitles. They do work, but nordic characters are mess. If I remember right preivious version of Areena also had similar issue, and it was corrected by doing utf8 things for downloaded syubtitle file in areenautil.</p><p></p><p>Br,</p><p></p><p>EDIT:</p><p>I think cluprit is in GUIOnlinevideos line 2423</p><p>string subs = string.IsNullOrEmpty(playItem.Video.SubtitleText) ? WebCache.Instance.GetWebData(playItem.Video.SubtitleUrl) : playItem.Video.SubtitleText;</p><p>after that subs are tried to write as utf8, but they are still wrong. Allthough "WebCache.Instance.GetWebData" has overrided method for forcing utf8 download. I tested with that</p><p>and then areena subs are displayed okay. I'm just wondering if that can affect other sites that don't need that force. If I remember right from java(which is my main job) uft8 detecting could be tricky. So I have no suggestion how to correct this without possibility to break other sites.</p></blockquote><p></p>
[QUOTE="te3hpurp, post: 1227836, member: 82806"] Hi. Thank You. Workig pretty good, except subtitles. They do work, but nordic characters are mess. If I remember right preivious version of Areena also had similar issue, and it was corrected by doing utf8 things for downloaded syubtitle file in areenautil. Br, EDIT: I think cluprit is in GUIOnlinevideos line 2423 string subs = string.IsNullOrEmpty(playItem.Video.SubtitleText) ? WebCache.Instance.GetWebData(playItem.Video.SubtitleUrl) : playItem.Video.SubtitleText; after that subs are tried to write as utf8, but they are still wrong. Allthough "WebCache.Instance.GetWebData" has overrided method for forcing utf8 download. I tested with that and then areena subs are displayed okay. I'm just wondering if that can affect other sites that don't need that force. If I remember right from java(which is my main job) uft8 detecting could be tricky. So I have no suggestion how to correct this without possibility to break other sites. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
Yle Areena
Contact us
RSS
Top
Bottom