HTML charset 网页编码设定

一:HTML4

  • <metahttp-equiv="content-type"content="text/html; charset=UTF-8" />
  • <metahttp-equiv="content-type"content="text/html; charset=gb2312" />

二:HTML5

  • <metacharset="utf-8">
  • <meta charset=utf-8> 

三:一些编码

  • Arabic (ISO-8859-6)
  • Catalan (ISO-8859-1)
  • Chinese (Simplified) (GB2312)
  • Chinese (Traditional) (BIG5)
  • Danish (ISO-8859-1)
  • Dutch (ISO-8859-1)
  • English (ISO-8859-1)
  • Esperanto (ISO-8859-3)
  • Finnish (ISO-8859-1)
  • French (ISO-8859-1)
  • Georgian (UTF-8)
  • German (ISO-8859-1)
  • Hebrew (ISO-8859-8-I)
  • Hungarian (ISO-8859-2)
  • Irish Gaelic (ISO-8859-1)
  • Italian (ISO-8859-1)
  • Japanese (SHIFT_JIS)
  • Korean (EUC-KR)
  • Norwegian (Bokm?l) (ISO-8859-1)
  • Norwegian (Nynorsk) (ISO-8859-1)
  • Occitan (ISO-8859-1)
  • Portuguese (Brazil) (ISO-8859-1)
  • Portuguese (Portugal) (ISO-8859-1)
  • Romanian (ISO-8859-2)
  • Russian (ISO-8859-5)
  • Slovenian (ISO-8859-2)
  • Spanish (ISO-8859-1)
  • Swedish (ISO-8859-1)
  • Yiddish (UTF-8)
原文地址:https://www.cnblogs.com/cocoajin/p/3370551.html