shane18 Posted October 23, 2009 Author Share Posted October 23, 2009 1 last question... if i follow... It goes something like this. 1. Set up all tables and columns that can store non ASCII characters as utf8 2. Save all PHP scripts in UTF-8 without BOM. 3. Declare all HTML pages encodings as utf8 4. Set up PHP to MySQL connection as utf8 - for mysql_connect mysql_connect('','',''); mysql_query("SET NAMES 'utf8'"); - for mysqli $db = new mysqli('','','',''); $db->set_charset('utf8'); and my MySQL SERVER CHARSET is UTF-8... then everything is fully setup? Link to comment https://forums.phpfreaks.com/topic/178142-solved-php-and-mysql/page/2/#findComment-942566 Share on other sites More sharing options...
Mchl Posted October 23, 2009 Share Posted October 23, 2009 I would say so. Link to comment https://forums.phpfreaks.com/topic/178142-solved-php-and-mysql/page/2/#findComment-942689 Share on other sites More sharing options...
shane18 Posted October 23, 2009 Author Share Posted October 23, 2009 thanks a lot man! Link to comment https://forums.phpfreaks.com/topic/178142-solved-php-and-mysql/page/2/#findComment-942860 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.