This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



GB18030(5)                                 BSD File Formats Manual                                GB18030(5)

NAME
     gb18030 -- GB 18030 encoding method for Chinese text

SYNOPSIS
     ENCODING "GB18030"

DESCRIPTION
     The GB18030 encoding implements GB 18030-2000, a PRC national standard for the encoding of Chinese
     characters.  It is a superset of the older GB 2312-1980 and GBK encodings, and incorporates Unicode's
     Unihan Extension A completely.  It also provides code space for all Unicode 3.0 code points.

     Multibyte characters in the GB18030 encoding can be one byte, two bytes, or four bytes long.  There are
     a total of over 1.5 million code positions.

     GB 11383-1981 (ASCII) characters are represented by single bytes in the range 0x00 to 0x7F.

     Chinese characters are represented as either two bytes or four bytes.  Characters that are represented
     by two bytes begin with a byte in the range 0x81-0xFE and end with a byte either in the range 0x40-0x7E
     or 0x80-0xFE.

     Characters that are represented by four bytes begin with a byte in the range 0x81-0xFE, have a second
     byte in the range 0x30-0x39, a third byte in the range 0x81-0xFE and a fourth byte in the range
     0x30-0x39.

SEE ALSO
     euc(5), gb2312(5), gbk(5), utf8(5)

     Chinese National Standard GB 18_3_-2___: Information Technology -- Chinese ideograms coded character
     set for information interchange -- Extension for the basic set, March 2000.

     The Unicode Standard, Version 3._, The Unicode Consortium, 2000.

STANDARDS
     The GB18030 encoding is believed to be compatible with GB 18030-2000.

BSD                                            August 10, 2003                                           BSD

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...