TOC

Web 字符编码

  1. Content-Type: text/html; charset=ISO-8859-4 HTTP 头部
  2. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  3. HTML5: <meta charset="utf-8">
  4. <?xml version="1.0" encoding="ISO-8859-1"?> XHTML 可以才用 XML 声明来定义编码