Skepsis Posted January 29, 2011 Share Posted January 29, 2011 Hello, I'm having troubles parsing text properly. Whenever I submit data into a mysql db, and then call that specific data, in the text, I get this symbol, �. Does anybody know what it is or how to remove it? I believe it's with utf-8 and me using a function that corrupts the string but I'm not sure. Anybody have any clues? Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/226015-utf-8-issues/ Share on other sites More sharing options...
Zurev Posted January 29, 2011 Share Posted January 29, 2011 Check out utf8_decode, try and use it on the output and get back! http://php.net/manual/en/function.utf8-decode.php Link to comment https://forums.phpfreaks.com/topic/226015-utf-8-issues/#findComment-1166803 Share on other sites More sharing options...
Skepsis Posted January 29, 2011 Author Share Posted January 29, 2011 That worked perfectly, it seems that when post data was sent to the db, some whitespaces were converted to  . which is where the problem was. Thank you kindly. Link to comment https://forums.phpfreaks.com/topic/226015-utf-8-issues/#findComment-1166840 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.