You are here:  » £ is replaced in product description by a square

Support Forum



£ is replaced in product description by a square

Submitted by mally on Sun, 2007-10-07 19:21 in

Can you please check
http://www.magazinesubscription.co.uk/product/Bizarre-Magazine.html

In the product description It has the £ symbol however when it appears on the website screen it looks like a square.

Can you please tell me if its possible to change it to £

Submitted by support on Mon, 2007-10-08 08:59

Hi mally,

This is a character encoding issue.

On the page in your message, I am able to make the pound symbol display correctly by setting the page character encoding (using the browser menu) to ISO-8859-1.

However, your site is indicating UTF-8, which is presumably what is set in your config.php in the $config_charset variable. The first thing to do is check this.

Now, it might be that all of your feeds are ISO-8859-1, in which case you want to change the value of $config_charset to iso-8859-1, which will fix the pound sign problem. However, if is also possible that most of your feeds are utf-8, in which case you would need to leave your character set configuration as it is, and try using the "UTF8 Encode" filter on the description field for that feed.

I would just try changing the whole site to iso-8859-1 in the first instance and check that everything looks OK...

Cheers,
David.

Submitted by mally on Mon, 2007-10-08 11:48

Hi David

Yep changing the config.php file to iso-8859-1 works
http://www.magazinesubscription.co.uk/subscribe-to/Bizarre-Magazine.html
the £ symbol is now shown in the product description.

thanks again

Mally