Page 1 of 1

php weird characters

Posted: Tue Oct 11, 2011 4:09 pm
by YoussefSiblini
Hi,
I am having a problem with some characters that showing in my webpage but I can't find them in my code.
If you go to this page http://ab-mxr.com/abmxrredtest.php and click add to cart then in the cartHSBC.php page you will see this:
"" in the middle of the page and "Â" before every price number.

They are no where in that page code how can I get rude of them.

Youssef

Re: php weird characters

Posted: Tue Oct 11, 2011 4:49 pm
by social_experiment
It could be a charset that doesn't support the characters that you wish to display. What is your current charset?

Re: php weird characters

Posted: Tue Oct 11, 2011 5:07 pm
by YoussefSiblini
Thank you,
This may sound stupid but How do you know what kind is my charset?

Re: php weird characters

Posted: Tue Oct 11, 2011 5:58 pm
by social_experiment
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
This is what defines your charset, it is usually located within the head of your document.

Re: php weird characters

Posted: Tue Oct 11, 2011 7:28 pm
by YoussefSiblini
There is none, shall I put one?

Re: php weird characters

Posted: Tue Oct 11, 2011 7:30 pm
by YoussefSiblini
Thank you :) that worked when I put one thankssssssssssssssssssssssssssssssssssssssssssssss