Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Your Zen Cart Products / Setting Up Categories, Products, Attributes / Symbols such as £ sign not displaying correctly in product descriptions

Symbols such as £ sign not displaying correctly in product descriptions

10 Jan 2013, 11:39 AM
#1
paintersinn avatar

paintersinn

New Zenner

Join Date:
Dec 2012
Posts:
21
Plugin Contributions:
0

Post #1 by paintersinn

Hi, this is a small annoying problem I can't seem to fix. The symbols such as £ are not displaying correctly in product description. Is this some kind of encoding language problem? How can I fix this, I haven't upgraded or installed anything new, it has been like this since I installed it :unsure:

Here is the link so you can see what i mean http://www.englishflagsandgear.co.uk/index.php?main_page=product_info&cPath=3&products_id=2

10 Jan 2013, 11:23 PM
#2
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Post #2 by torvista

Is this some kind of encoding language problem
Yep. You are serving up the pages as iso8859, but the stuff coming out of the database is encoded as utf-8 (you'll see the £ correctly of you change the view encoding in the browser).
Lots of threads here about this.

Here's a good discussion which will give you the background:
http://www.zen-cart.com/showthread.php?153582-ability-to-define-DB_CHARSET-in-v1-3-9

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...