Linux Vim Browser HTML
I am currently learning HTML web design by myself. The system I use is Fedora 18. Every time I use vim to write a web page, I can type in Chinese, but if I use a browser to open the web page file , all the Chinese characters have become garbled, and adding the meta tag gb2312 to the source code of my webpage has no effect. I would like to ask how to solve this problem. Could you please give me some advice? . . Just change the editor
That one seems to support Chinese
Just change the editor
That one seems to support Chinese, but I can input Chinese. After the written html is opened, the Chinese part is garbled
It supports Chinese, and the encoding is set to: utf8.
My suggestions are:
1. Use HTML5 to write your HTML [set the encoding in HTML5]
<!doctype html><html><head><meta charset="utf-8"><!-- 设置编码 --><title>HTML5测试</title></head><body>键入你的E-mail:<input type="email" name="email" /></body></html>