ayok Posted March 12, 2008 Share Posted March 12, 2008 Hi, I have problem to escape this character in mysql. If I insert this character, then I got strange symbol as a result. How can I find tutorial for this? I don't even know how to search on google. Thanks, ayok Link to comment https://forums.phpfreaks.com/topic/95881-%C3%A9-character/ Share on other sites More sharing options...
p2grace Posted March 12, 2008 Share Posted March 12, 2008 Convert your database to utf8 or add this at the top of every page: <?php mysql_query("SET NAMES 'utf8'"); ?> That will save all mysql inserts and updates as utf8. utf8 supports that character. Link to comment https://forums.phpfreaks.com/topic/95881-%C3%A9-character/#findComment-490870 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.