HTML meta charset provide coding information - HTML meta tags - Guide to HTML, XHTML Guide

Change Font Size: / / Directory List

14.1. HTML meta charset provide information coding

Example

Using UTF8 encoding (international code)

  <meta Http-equiv "Content-Type" content = = "text/html; charset=UTF-8" /> 

The use of Chinese utf-8 coding

  <meta Http-equiv "Content-Type" content = = "text/html; charset=utf-8" /> 

Below these encoding methods, such as: GBK Chinese, Traditional Chinese Big5, EUC-JP Japanese, Korean EUC-KR, each language coding is different, so it is necessary to use charset website provides a way of encoding Otherwise, it is likely that pages of gibberish.

UTF-8 is no country code, which is independent of any one language, any language can be used (NT22 Tutorial on the use of this code).

Trackback Address: http://www.nt22.com/xhtml-html/charset/

Through the web browser can view the coding method: click on the menu "View" - "character encoding (encoding)."