PHP + MYSQL garbled code. could you tell me if the mysql database is garbled but the program is not messy? if you use MYSQL to directly insert a Chinese database without garbled code, what is the cause? UTF8, three-code consistent file encoding database encoding file output display encoding before inserting/reading data execute mysql_query (& quot; set php + MYSQL garbled, for help
Is my mysql database garbled but the program is not messy?
If MYSQL is used to directly insert a Chinese database without garbled code
Why?
UTF8
------ Solution --------------------
Three identical codes
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.