tags:

views:

59

answers:

1

While working with Froogle, the datafeed is constantly bugging me with encoding problems in some article-descriptions.

The script, string and output is utf8 encoded, but I can't find the characters that cause the problem.

is there a way to detect troublesome characters?

A: 

Try using the htmlentities function for your string.

echo htmlentities($your_str, ENT_QUOTES);

And then use, html_entity_decode function to read back with utf8 as parameter.

Sarfraz
tried that already withhtml_entity_decode($products_description,ENT_NOQUOTES,'UTF-8');helped for some strings, others are still having the same problm
SkaveRat
No change with htmlentities and html_entity_decode
SkaveRat