gb2312(5)

gb23125

Gb2312 encoding method for chinese text

Usage

ENCODING "GB2312"

Overview

The GB2312 encoding implements GB 2312-1980, a PRC national standard for the encoding of simplified Chinese characters.

Multibyte characters in the GB2312 encoding can be one byte or two bytes long. GB 11383-1981 (ASCII) characters are represented by single bytes in the range 0x00 to 0x7F. Simplified Chinese characters are represented by two bytes, both in the range 0xA1-0xFE.

Releases

Unchanged in 135 releases since Mac OS X 10.4.

  1. 10.4–26.5

Standards

The GB2312 encoding is believed to be compatible with GB 2312-1980. This standard has been superseded by GB 18030-2000, but is still in wide use.

From Libc 1752.120.2 in macOS 26.5. Parsed by carta from the page's mdoc source.