changing $ to £ gives me a ?

Problems installing or using the NOP Design Free Shopping Cart that do not fit into one of the above categories.

Moderators: Koibito, Stefko, Randy

changing $ to £ gives me a ?

Postby adam84 » Mon Oct 27, 2008 11:03 am

Hi all

Sorry if this is a stupid question, i've setup the cart successfully and it works a charm. Just relalised it was in dollars and i needed in Pounds. However when i changed the Monetary Symbol on the nopcart.js file to £ from $, all i get is a ? on the site. Any ideas??

Thanks
adam84
WebMaster
 
Posts: 2
Joined: Mon Oct 27, 2008 10:59 am

Re: changing $ to £ gives me a ?

Postby Koibito » Mon Oct 27, 2008 12:27 pm

Since the Pound Sterling sign is not part of the US-ASCII charcter set, your HTMl and checkout script should use UTF-8 as the character set.

HTML:
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />


Read this for the Perl checkout script:
viewtopic.php?t=6344

I believe there is a similar thread for the PHP checkout script somewhere.
John
Koibito
Site Admin / Guru
 
Posts: 918
Joined: Sun May 28, 2006 1:59 am
Location: New Jersey, USA

Re: changing $ to £ gives me a ?

Postby adam84 » Mon Oct 27, 2008 2:33 pm

Cheers for the reply

I just read through that didnt make much sense to me bit of a noob, i have no issue with email just when the checkout displays a ? instead of £. I understand it is the charset, is it possible to bypass having £ but just to have GBP instead of $

thanks

Just tried this and obviously worked as GBP is included in the US-ASCII charcter set.
adam84
WebMaster
 
Posts: 2
Joined: Mon Oct 27, 2008 10:59 am


Return to Help: Cart / General

Who is online

Users browsing this forum: No registered users and 0 guests