Ok, I have a website where the pages are coded in php & html. One of the things I can do on the site is insert item descriptions. Now when I type directly onto the site a £ is a £ so no problems there.
But sometimes I need to call a page from somewhere else, this page gets placed within my site, basically the called pages are just html files. When I come to look at the site all the prices are showing ? rather than £ signs. Is there any server setting or anything that might cause this to happen?
I've seen things turn to ?s when uploading a file with the wrong charset selected in phpmyadmin. I'd guess you have some other sort of character set issue, but I'm not sure how exactly you're calling the files.
Comments on £ Showing As ?
Forum Regular
Usergroup: Customer
Joined: Aug 14, 2005
Total Topics: 33
Total Comments: 107
Hi,
Ok, I have a website where the pages are coded in php & html. One of the things I can do on the site is insert item descriptions. Now when I type directly onto the site a £ is a £ so no problems there.
But sometimes I need to call a page from somewhere else, this page gets placed within my site, basically the called pages are just html files. When I come to look at the site all the prices are showing ? rather than £ signs. Is there any server setting or anything that might cause this to happen?
I am using PHP 5.0.4 and MySQL 4.1.16
Thanks
Jon
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I've seen things turn to ?s when uploading a file with the wrong charset selected in phpmyadmin. I'd guess you have some other sort of character set issue, but I'm not sure how exactly you're calling the files.
Forum Regular
Usergroup: Customer
Joined: Aug 14, 2005
Total Topics: 33
Total Comments: 107
Hi Paul,
The file/code I am calling is an html file, what I am doing is inserting this into the decription box :-
<iframe src="http://www.mysite.com/valentines.html"width="600" height="3450" />
However the same thing happens if I use javascript sometimes to call external text.
Also on my site I have a Amazon feed, this also shows a ? instead of a £ sign. Which is really confusing as the feed comes directly from Amazon.
Thanks
Jon
Forum Regular
Usergroup: Customer
Joined: Aug 14, 2005
Total Topics: 33
Total Comments: 107
Hi,
Does anyone know what the default MySQL character set should be? Or rather what is the correct character set for use with WSN Links should be?
Thanks
Jon
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Hi,
Have you tested changing the value of {LANG_CHARSET} variable ?
I had some difficulties with accents and ñ used at spanish language, solved changing it's value or just leaving it empty.
Forum Regular
Usergroup: Customer
Joined: Aug 14, 2005
Total Topics: 33
Total Comments: 107
Hi,
Many thanks will give it a try
Jon
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Try latin1 perhaps.