hi all,
I got the rss feed working in the webshop (www.touch-glass.nl) but if you read the rss you will see a problem, the characters & and ° will be displayed as ° & (http://www.touch-glass.nl/rss.php?language=nl) does someone know what we are doing wrong? (² ® also wrong)
I made some changes in the rss.php file, i changed utf8 to iso-8859-1 but it still did not show the & and °. so i changed it back to utf8.
Rss.php file:
function replace_problem_characters($text) {
...........
$in[] = '@&(amp);@i'; $out[] = '&';
$in[] = '@&(deg);@i'; $out[] = '°';
.................
.................
$search = array ("'<script[^>]*?>.*?</script>'si", // Strip out javascript
"'&(amp|#38);'i",
"'&(deg|#730);'i",
.................
.................
This is everything i can find in the rrs file, is there something wrong in it or how do i change it that it will show the & and ° characters?