xref: /freebsd/lib/libc/locale/gb2312.5 (revision e31d6d81497ab0ad8ea3d926a7946f984ea76984)
1e31d6d81STim J. Robbins.\" Copyright (c) 2003 Tim J. Robbins
2e31d6d81STim J. Robbins.\" All rights reserved.
3e31d6d81STim J. Robbins.\"
4e31d6d81STim J. Robbins.\" Redistribution and use in source and binary forms, with or without
5e31d6d81STim J. Robbins.\" modification, are permitted provided that the following conditions
6e31d6d81STim J. Robbins.\" are met:
7e31d6d81STim J. Robbins.\" 1. Redistributions of source code must retain the above copyright
8e31d6d81STim J. Robbins.\"    notice, this list of conditions and the following disclaimer.
9e31d6d81STim J. Robbins.\" 2. Redistributions in binary form must reproduce the above copyright
10e31d6d81STim J. Robbins.\"    notice, this list of conditions and the following disclaimer in the
11e31d6d81STim J. Robbins.\"    documentation and/or other materials provided with the distribution.
12e31d6d81STim J. Robbins.\"
13e31d6d81STim J. Robbins.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14e31d6d81STim J. Robbins.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15e31d6d81STim J. Robbins.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16e31d6d81STim J. Robbins.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17e31d6d81STim J. Robbins.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18e31d6d81STim J. Robbins.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19e31d6d81STim J. Robbins.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20e31d6d81STim J. Robbins.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21e31d6d81STim J. Robbins.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22e31d6d81STim J. Robbins.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23e31d6d81STim J. Robbins.\" SUCH DAMAGE.
24e31d6d81STim J. Robbins.\"
25e31d6d81STim J. Robbins.\" $FreeBSD$
26e31d6d81STim J. Robbins.Dd November 7, 2003
27e31d6d81STim J. Robbins.Dt GB2312 5
28e31d6d81STim J. Robbins.Os
29e31d6d81STim J. Robbins.Sh NAME
30e31d6d81STim J. Robbins.Nm gb2312
31e31d6d81STim J. Robbins.Nd "GB2312 encoding method for Chinese text"
32e31d6d81STim J. Robbins.Sh SYNOPSIS
33e31d6d81STim J. Robbins.Nm ENCODING
34e31d6d81STim J. Robbins.Qq GB2312
35e31d6d81STim J. Robbins.Sh DESCRIPTION
36e31d6d81STim J. RobbinsThe
37e31d6d81STim J. Robbins.Nm GB2312
38e31d6d81STim J. Robbinsencoding implements GB\ 2312-1980, a PRC national standard
39e31d6d81STim J. Robbinsfor the encoding of simplified Chinese characters.
40e31d6d81STim J. Robbins.Pp
41e31d6d81STim J. RobbinsMultibyte characters in the GB2312
42e31d6d81STim J. Robbinsencoding can be one byte or two bytes long.
43e31d6d81STim J. Robbins.No GB\ 11383-1981 ( Ns
44e31d6d81STim J. Robbins.Tn ASCII )
45e31d6d81STim J. Robbinscharacters are represented by single bytes in the range 0x00 to 0x7F.
46e31d6d81STim J. RobbinsSimplified Chinese characters are represented by two bytes, both in
47e31d6d81STim J. Robbinsthe range 0xA1-0xFE.
48e31d6d81STim J. Robbins.Sh SEE ALSO
49e31d6d81STim J. Robbins.Xr euc 4 ,
50e31d6d81STim J. Robbins.Xr gb18030 5 ,
51e31d6d81STim J. Robbins.Xr gbk 5
52e31d6d81STim J. Robbins.Sh STANDARDS
53e31d6d81STim J. RobbinsThe
54e31d6d81STim J. Robbins.Nm GB2312
55e31d6d81STim J. Robbinsencoding is believed to be compatible with GB\ 2312-1980.
56e31d6d81STim J. RobbinsThis standard has been superceded by GB\ 18030-2000, but is still
57e31d6d81STim J. Robbinsin wide use.
58