I am pulling data from a Blogger blog and a strange character is coming through.
The character is included below:
,"� my motiva..
I am using PHP's str_replace function to remove other non-xml characters but I can't figure out how to get rid of this one. Has anyone seen this before?
Thanks for help in advance...
Neal
The second content type did the trick. Thanks again David!!!!
--Neal
Hello Neal,
This is almost certainly a character-set mis-match between the feed and the HTML that you are generating. You can control the character set with the following PHP code, which must go right at the top of your script before any content is generated:
<?php
header("Content-Type: text/html;charset=utf-8");
?>
utf-8 is the more common encoding, but if that doesn't work, try iso-8859-1.
Hope this helps!
Cheers,
David.