Post by miste83 » Thu Jun 16, 2011 4:17 pm

Hi everybody,
sorry for my english...

I have a short description of the product in the summary of categories. But when the last symbol is with diacritics, it shows black diamond with question mark.
I have this in the .../catalog/controller/product/category.php to show the description:
'description' => strip_tags(mb_substr(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8'),0,150, 'UTF-8'))."...",

Is some mistake there?

Thanks...

Attachments

short_description.JPG

short_description.JPG (34.96 KiB) Viewed 587 times


Newbie

Posts

Joined
Fri Dec 17, 2010 8:24 pm

Post by stzm » Tue Feb 28, 2012 9:27 pm

you have to include <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> on you code.

Newbie

Posts

Joined
Tue Feb 28, 2012 2:27 am
Who is online

Users browsing this forum: Amazon [Bot] and 20 guests