Community Forums 

Main Content

How to display fractions and accents in product descriptions

    Mar 23 2011 06:34:13



    Join date : 2010-09-06      Posts : 4

    I am setting up an online shoe shop where most shoes have fractional sizes. I want to display Size:10½ but it shows up as Size:10½. I don't want to use 10 1/2 or 10.5 as they look strange.

    In another site selling wines I want to show Rosé (e acute) and it shows in the cart as Rosé.

    Any ideas?

    Mar 23 2011 07:14:51



    Join date : 2008-09-18      Posts : 419

    A useful reference page about special characters in HTML

    Mar 23 2011 07:36:11



    Join date : 2010-09-06      Posts : 4

    Thanks Geoff.. I tried this:

    <input type="hidden" name="product" value="Rosé of Virginia 2010">

    but it didn't work - the entry in the cart was "Rosé of Virginia 2010"

    Suggests to me that the cart description doesn't recognise html coding.

    Will try more tomorrow - cocktail hour now in Queensland.

    Mar 23 2011 07:51:08



    Join date : 2008-09-18      Posts : 419

    In your HTML source head area there may be a character set meta-tag specifying UTF-8. If so, change it to iso-8859-1

    <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">

    Mar 24 2011 03:12:12



    Join date : 2010-09-06      Posts : 4

    Thanks again Geoff - both the acute accent and fractions now work fine. This change only needs to be made to a small number of pages with Add to Cart buttons.

    Now my customers will be able to order Rosé wine and not Rose wine - quite a difference!!