Link to home
Start Free TrialLog in
Avatar of ST3VO
ST3VOFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Special characters not showing on page

Hi all,

I'm writting a database driven website but I'm having a problem with the display.

For some reason characters like: "% - £ $ " etc are being replaced on the page with question marks and other stuff.

Anyone have any idea on how to fix this?  Right now what I'm having to do is to insert £ instead of £ , which is really not practical.

Hope someone can help.

thx

st3vo
SOLUTION
Avatar of Chimeraza
Chimeraza
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ST3VO

ASKER

When I insert some text into the database I get lots of black diamonds with a ? on it.
For example if I type "It's" on the database field I will get "it?s (where the ? is the black diamond with the ? in the middle.

This is display on the page that is read from the database but in the database I didn't type the ? and it's not there, it's just displayed that way on the php page when echoing the field content.

I want to be able the write whatever and for it to display properly. Don't want to have to use ascii codes.

Hope this helps


ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Glad you sorted it!
Avatar of ST3VO

ASKER

Thanks :o)