Forum Moderators: coopster

Message Too Old, No Replies

Characters not displaying properly

Certain characters do not display correctly from the db

         

paulmerseyside

8:03 pm on Aug 17, 2008 (gmt 0)

10+ Year Member



Hi

Certain characters do not seem to display properly when called from the database when using php

These characters appear to be the following - £ and ' signs

They just appear with a ? when displayed on the page

The field is collated as utf8_unicode_ci and I have also tried latin1_general_ci in the database but it does not seem to make any difference at all

I assume there is an easy way of dealing with this?

eeek

9:16 pm on Aug 17, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What character set/language is the web page being sent as?

paulmerseyside

9:25 pm on Aug 17, 2008 (gmt 0)

10+ Year Member



I am inserting the data into a wordpress page

eeek

9:47 pm on Aug 17, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I am inserting the data into a wordpress page

That's not what I asked. Look at the page properties and find out what character set it's using. Also look at the html and find out how those characters are being sent.