lukep11a Posted January 23, 2011 Share Posted January 23, 2011 Hi, does anybody know why I get a question mark inside a diamond shape where a pound sign should be when i retrieve data from a mysql database? I have tried using latin1_general_ci and utf8_general_ci and they both do the same, don't know whether that is anything to do with it or not? Any help would be greatly appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/225393-character-encoding-help/ Share on other sites More sharing options...
codefossa Posted January 23, 2011 Share Posted January 23, 2011 set the table and columns both to utf8 charset and utf8_general_ci (forget the word) Then it should work. Quote Link to comment https://forums.phpfreaks.com/topic/225393-character-encoding-help/#findComment-1163937 Share on other sites More sharing options...
lukep11a Posted January 23, 2011 Author Share Posted January 23, 2011 thanks for you're quick response, ive tried that and still getting the same result, do I need to specify it anywhere in the php coding aswell? Quote Link to comment https://forums.phpfreaks.com/topic/225393-character-encoding-help/#findComment-1163952 Share on other sites More sharing options...
dreamwest Posted January 23, 2011 Share Posted January 23, 2011 £ Quote Link to comment https://forums.phpfreaks.com/topic/225393-character-encoding-help/#findComment-1163955 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.