问题:
In order to define charset for HTML5 Doctype , which notation should I use? 为了为HTML5 Doctype定义字符集,我应该使用哪种表示法?
Short: 短:
<meta charset="utf-8" />
Long: 长:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
解决方案:
参考一: https://stackoom.com/question/Jhlz/meta-charset-utf-与-meta-http-equiv-Content-Type参考二: https://oldbug.net/q/Jhlz/meta-charset-utf-8-vs-meta-http-equiv-Content-Type
来源:oschina
链接:https://my.oschina.net/u/3797416/blog/3217725