What are the MIME specs for Chinese encoding?
Below are MIME (Media Type) specifications for most chinese character encodings found on the Internet:
BIG 5 (traditional character set of Taiwan) [RFC1922]
Content-Type: text/plain; charset=CN-BIG5; charset-edition=1984
Content-Transfer-Encoding: Base64
GB 2312-80 (simplified character set of mainland China) [RFC1922]
Content-Type: text/plain; charset=CN-GB; charset-edition=1980
Content-Transfer-Encoding: Base64
GB 12345-90 (traditional form of GB 2312-80) [RFC1922]
Content-Type: text/plain; charset=CN-GB-12345; charset-edition=1990
Content-Transfer-Encoding: Base64
HZ (7bit form of GB 2312-80) [RFC1842]
Content-Type: text/plain; charset=HZ-GB-2312
Content-Transfer-Encoding: 7bit
ISO 2022 CN (7bit charset designed for cross-Strait communication) [RFC1922]
Content-Type: text/plain; charset=ISO-2022-CN
Content-Transfer-Encoding: 7bit
ISO 2022 CN-EXT (extended form of ISO 2022 CN) [RFC1922]
Content-Type: text/plain; charset=ISO-2022-CN-EXT
Content-Transfer-Encoding: 7bit
ISO IR 165 (aka CCITT Chinese Set or GB 2312-80 + GB 8565.2-88) [RFC1922]
Content-Type: text/plain; charset=CN-GB-ISOIR165; charset-edition=1992
Content-Transfer-Encoding: Base64
Unicode 1.1 (aka UCS-2) [RFC1641]
Content-Type: text/plain; charset=UNICODE-1-1
Content-Transfer-Encoding: base64
UTF-7 (Mail-Safe Transformation Format of Unicode) [RFC2152]
Content-Type: text/plain; charset=UTF-7
Content-Transfer-Encoding: 7bit
UTF-8 (Transformation Format of Unicode) [RFC2044]
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: base64
Explanations:
For 7bit charsets, Content-Transfer-Encoding: 7bit
is optional.
For 8 or 16 bit charsets, 8bit, Binary
, or Quoted-Printable
may be used in place of Base64
, depending on the situation.
Where Content-Type: text/plain
is mentioned, text/html
may be used instead for www transmission.
Charset-edition
is a new
parameter optionally used to specify the year edition for a particular charset.
1996(c) copyrighted and maintained by Nelson Chin, cyl@ifcss.org. Hosted by Chinese Community Info. Ctr.. Created: 1996.04.26 Updated: 1997.04.27