MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Electronic Program Guide » WebEPG


WebEPG everything related to WebEPG in here

Reply
 
Thread Tools Display Modes
Old 2007-03-06, 10:34   #1 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Kiev, Ukraine
Age: 34
Posts: 42
Thanks: 1
Thanked 2 Times in 2 Posts

Country:

My System

Default Encoding in site url not working

Hello

Now I am trying to create WebEPG grabber files for Ukrainian TV channels.
I have found few sites where character encoding is not defined in HTML code. For such sites WebEPG use some default encoding seems like ASCII or ISO-8859-1. I was tryed to use
Code:
<Site url="" post="" external="" encoding="windows-1251" />
but without any effect. Then I was checked the WebEPG sources and found no encoding handling at all.

I have enough knowledge to implement such handling, but sources structure is not too clean. Can someone point me where encoding handling have to be implemented?
AlexPlas is offline   Reply With Quote
Old 2007-03-06, 20:18   #2 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

Hi AlexPlas,

I found the problem and have updated the SVN, the forced encoding was not being copied with the HTTPRequest object.

If you are still interested, the Encoding support is handled in HTMLPage.cs (MediaPortal.Utils.Web) in the Utils.dll.

Cheers,

/James
James is offline   Reply With Quote
Reply

Bookmarks

Tags
encoding, site, url, working

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sublink url not used marceltrou WebEPG 1 2007-02-11 20:00
Web site plugin updates working? patrick Website/Forum/Wiki Feedback 3 2007-01-03 02:08
MyRadio: Problem opening RTSP url zagor 0.2.0.0 final and SVN Bugreports 1 2006-08-25 11:20
RC4: Teletext still shows MP's old url Ralph The old Bugreport Forum 1 2006-06-12 23:47
Mediaportal crashes when using a wrong URL Mediastream bergh The old Bugreport Forum 2 2006-04-29 18:33


All times are GMT +1. The time now is 03:47.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden