Try to set charachter encoding after mysql_connect
function like this:
mysql_query ("set character_set_client="utf8"");
mysql_query ("set character_set_results="utf8"");
mysql_query ("set collation_connection='utf8_general_ci'");
More Related Contents:
- Fixing broken UTF-8 encoding
- Storing and displaying unicode string (हिन्दी) using PHP and MySQL
- How to store the data in unicode in hindi language
- If number have inside number string [closed]
- Php date() Date and time is stuck [closed]
- Cannot modify header information [duplicate]
- inserting information and image in php and mysql
- CodeIgniter – foreach loop
- mysqli or die, does it have to die?
- Project Links do not work on Wamp Server
- PHP/MySQL insert row then get ‘id’
- Show values from a MySQL database table inside a HTML table on a webpage [duplicate]
- Using Jquery Ajax to retrieve data from Mysql
- Laravel migration: unique key is too long, even if specified
- Laravel Eloquent select all rows with max created_at
- MySQL – count total number of rows in php
- Advantages Of MySQLi over MySQL [closed]
- Fix Access denied for user ‘root’@’localhost’ for phpMyAdmin
- SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax — PHP — PDO [duplicate]
- What does a successful MySQL DELETE return? How to check if DELETE was successful?
- check if the query results empty row mysqli [duplicate]
- MySQL Error “Too many connections”
- Warning: mysql_num_rows() expects parameter 1 to be resource, object given [duplicate]
- Error 1148 MySQL The used command is not allowed with this MySQL version
- How to reverse a Unicode string
- Connect to remote MySQL server with SSL from PHP
- How does {} affect a MySQL Query in PHP? [duplicate]
- When should I close a database connection in PHP?
- php connection pooling mysql [duplicate]
- Limit pagination page number