xref: /freebsd/lib/libc/locale/gb2312.5 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
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.Dd November 7, 2003
26e31d6d81STim J. Robbins.Dt GB2312 5
27e31d6d81STim J. Robbins.Os
28e31d6d81STim J. Robbins.Sh NAME
29e31d6d81STim J. Robbins.Nm gb2312
30e31d6d81STim J. Robbins.Nd "GB2312 encoding method for Chinese text"
31e31d6d81STim J. Robbins.Sh SYNOPSIS
32e31d6d81STim J. Robbins.Nm ENCODING
33e31d6d81STim J. Robbins.Qq GB2312
34e31d6d81STim J. Robbins.Sh DESCRIPTION
35e31d6d81STim J. RobbinsThe
36e31d6d81STim J. Robbins.Nm GB2312
37e31d6d81STim J. Robbinsencoding implements GB\ 2312-1980, a PRC national standard
38e31d6d81STim J. Robbinsfor the encoding of simplified Chinese characters.
39e31d6d81STim J. Robbins.Pp
40e31d6d81STim J. RobbinsMultibyte characters in the GB2312
41e31d6d81STim J. Robbinsencoding can be one byte or two bytes long.
42b9384efcSRuslan Ermilov.No GB\ 11383-1981 Pq Tn ASCII
43e31d6d81STim J. Robbinscharacters are represented by single bytes in the range 0x00 to 0x7F.
44e31d6d81STim J. RobbinsSimplified Chinese characters are represented by two bytes, both in
45e31d6d81STim J. Robbinsthe range 0xA1-0xFE.
46e31d6d81STim J. Robbins.Sh SEE ALSO
478962b7a5STim J. Robbins.Xr euc 5 ,
48e31d6d81STim J. Robbins.Xr gb18030 5 ,
49e31d6d81STim J. Robbins.Xr gbk 5
50e31d6d81STim J. Robbins.Sh STANDARDS
51e31d6d81STim J. RobbinsThe
52e31d6d81STim J. Robbins.Nm GB2312
53e31d6d81STim J. Robbinsencoding is believed to be compatible with GB\ 2312-1980.
54b9384efcSRuslan ErmilovThis standard has been superseded by GB\ 18030-2000, but is still
55e31d6d81STim J. Robbinsin wide use.
56