Kneeling for answers, PHP coding problems
Recently downloaded from the Internet a source code, inside the Chinese characters go are garbled, similar to the following form:
鐎 Indigo extinguishing craftsmanships wengjiang λ 锟 bounded ゴ 濮濓絿 echnical?; /鐎 gauge administrative guy instill ã carry 礀 liben-Hi 嫬 mtr х 粭-block 獓 閸 Kong ﹢ Search锛
, his code is utf-8, I want to turn it into a normal Chinese character what to do, ask for guidance .....
------Solution--------------------
It is the encoding of the file. Use the editor to open a look, save ask UTF8.
------Solution--------------------
Open with the editor, change the encoding when saving, there must be a normal display, try it
------Solution--------------------
Change the code in your editor to utf-8 save to see the effect.
------Solution--------------------
Code garbled problem,
See 3 Aspects 1, the browser character encoding settings 2, the editor encoding settings 3, the code character settings see whether the 3 is unified
------Solution--------------------
Use notepad++.
You can choose which encoding to open, and then choose which encoding to save
------Solution--------------------
Use Notepad to open Chinese characters correctly when saving again
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service