• I apologize if this has been addressed. I’m using the RSS widget to display a custom Google News feed. That feed is producing invalid characters within the link titles. In the page source the character looks like this, � , and is preventing me from validating the markup of my page. When I try to validate with W3C I get the message, “The error was: utf8 “\xA0″ does not map to Unicode”

    Thanks for any help you can provide.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter c9h13no3

    (@c9h13no3)

    Sorry to bump but I posted this pretty late last night. Any thoughts??

    Same problem here.
    Most irritating.

    I thought of a php snippet that could replace bad characters such as this:

    <?php
    
        // Function used to replace Bad Characters
        function BadChar($Phrase=''){
            $SearchValues = array(
            "\xA0",
    	"�"
    
            );
               {
                // Replace phrase with space
                $ReplacementValues = array(
                    " "
                );
            }
            return str_replace($SearchValues, $ReplacementValues, $Phrase);
        }
    
    ?>

    But it didn’t work…
    Can’t say that I’m any good at php though…

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Invalid Characters in RSS Feed’ is closed to new replies.