You are here:  » Weird characters from datafeeds

Support Forum



Weird characters from datafeeds

Submitted by cq on Mon, 2008-03-31 02:46 in

Hello David,

Some of my feeds contain weird character in the title ie square box. I believe it is the trademark logo (TM), or some other signed. How can i solve this problem.

thanks
jack

Submitted by support on Mon, 2008-03-31 04:31

Hello Jack,

This means that the data in the feed you are using is in a different character set to the one you have configured in config.php, which is by default:

  $config_charset = "utf-8";

First, try changing this to iso-8859-1 as follows:

  $config_charset = "iso-8859-1";

If that works, check that it hasn't affected the display of characters in other places. However, if this results in more characters not being displayed properly then it would indicate that the majority of your feeds are in utf-8, so you should undo the change to config.php. Instead, you can then use the "UTF8 Encode" filter against the product name and description fields for this feed - click here for more information on using filters.

Cheers,
David.