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