View Full Version : Euro Symbol
eodom
05-28-2005, 11:45 AM
Hi,
it's a small problem I have. I want to use the Euro() symbol but the page displays a capital T with a backwards c next to it. I have set the Currency format to 'eu' in the Buy Mode Settings section. I've even tried using the custom format with no luck.
See the problem at : http://naples.anyservers.com/~eodoma/whois/whois.php
or http://www.servingireland.com/whois/whois.php
Hope someone can help.
Thanks.
Patrick
05-28-2005, 03:54 PM
The font you are using probably doesn't have the euro symbol. Try changing your font, at least around the prices (you could even use the custom currency setting to slip in a <font> tag around the symbol).
eodom
05-29-2005, 03:53 AM
I solved the problem. I changed the the code slightly in display.php to add in the Euro symbol before the price using '€'.
Thanks for the help.
eodom
05-29-2005, 03:57 AM
P.S.,
sorry but I forgot to mention that the fonts that I tried were Arial, Verdana, Times and Lucinda Console, all of which have in their character map. I also noticed that when I tried to set the currency to uk I got a J.
Anyway alls well that ends well.
Thanks.
Patrick
05-29-2005, 08:56 AM
I probably missed that when I was rewriting the script.
I will update it to use the proper html codes.
It will be available in the next release. Until that time, anyone who wants to fix the problem can:
Open global.php:
Find
case "uk": $converted_string = "£".number_format($number, 2);
break;
case "eu": $converted_string = "".number_format($number, 2, ",",".");
break;
And replace with:
case "uk": $converted_string = "£".number_format($number, 2);
break;
case "eu": $converted_string = "€".number_format($number, 2, ",",".");
break;
Powered by vBulletin™ Version 4.0.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.