In the article publishing system, when I submit a form, alert prompts after the submission is successful, but Chinese characters may contain garbled characters. I have found some information on the internet. There are three places to pay attention to character encoding. I. header 2: Database character encoding 3: after all the file storage encoding is set, it still does not work. Demo :...
In the article publishing system, when I submit a form, alert prompts after the submission is successful, but Chinese characters may contain garbled characters.
I have found some information on the internet. There are three places to pay attention to character encoding.
I. header
II. database Character encoding
III. file storage encoding
It still does not work after all settings are set.
Demo:
Http://www.mrchen573.com/php...
Reply content:
In the article publishing system, when I submit a form, alert prompts after the submission is successful, but Chinese characters may contain garbled characters.
I have found some information on the internet. There are three places to pay attention to character encoding.
I. header
II. database Character encoding
III. file storage encoding
It still does not work after all settings are set.
Demo:
Http://www.mrchen573.com/php...
The landlord directly returns a Chinese review.Script
Tag
** Add a sentence to the echo.
Echo" "**