Results 1 to 2 of 2

Thread: Fix to problem displaying RSS feed with accented characters

  1. #1
    Join Date
    Apr 2008
    Thanked 0 Times in 0 Posts

    Default Fix to problem displaying RSS feed with accented characters

    1) Script Title: Advance RSS Ticker (Ajax Invocation)

    2) Script URL (on DD):

    3) Describe problem: Accented characters in RSS feed where not displaying correctly. Neither were apostrophes, emdashes, or "smart quotes."

    The problem turned out to be a disconnect between the encoding used for the RSS feed and the XML used by the ticker. The web site (based on Drupal) uses UTF-8 encoding throughout, including its RSS feeds.

    The bridge.php script which parses the RSS feed into XML uses ISO-8859-1 encoding. Changing it to UTF-8 (line 44) resolved the issue.

    I thought I'd post it here since it took me several hours to figure out what was going on, and maybe it will save others the pain.


  2. #2
    Join Date
    Aug 2004
    Thanked 1,008 Times in 993 Posts
    Blog Entries


    Thanks for sharing. Personally I've never really looked into the issue, so can't confirm if what you're posting will work for everyone. Nonetheless, it seems it should at least work for some others too.

    Tagged this thread.
    DD Admin

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts