I’m getting � this character in my facebook app instead of “£”- I checked the mysql db and the character is being stored as £. How do i fix this? This has never happened to me before – I’m using PHP as well.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try using
mb_convert_encoding()to convert the character from whatever character set it’s being stored in, to the character set Facebook is being displayed in.eg:
See: http://php.net/mb_convert_encoding for more information.