[mythtv-commits] Ticket #6289: MythWeb recorded programs RSS and non-ascii characters in titles

MythTV mythtv at cvs.mythtv.org
Fri Apr 10 07:50:57 UTC 2009


#6289: MythWeb recorded programs RSS and non-ascii characters in titles
----------------------------------+-----------------------------------------
 Reporter:  otto at kolsi dot fi  |        Owner:  kormoc 
     Type:  defect                |       Status:  closed 
 Priority:  minor                 |    Milestone:  unknown
Component:  Plugin - MythWeb      |      Version:  head   
 Severity:  medium                |   Resolution:  fixed  
  Mlocked:  0                     |  
----------------------------------+-----------------------------------------

Comment(by otto at kolsi dot fi):

 [20244] did not fix this, ticket should be re-opened (don't have
 permissions to do so).

 Root of the problem seems to be the fact that FeedWriter.php does HTML
 entity encoding for the RSS data. RSS data is in fact XML and thus most of
 the HTML entities do not work but break the XML (since without additional
 declarations, XML can contain only 5 entities).

 Attached patch removes HTML-entity encoding and also removes previous
 UTF-8/URL -decode calls (which now need to be removed when entities are
 not used). With this applied, non-ascii characters work both in program
 titles and descriptions.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6289#comment:3>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list