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/gbk.5 131608 2004-07-05 06:39:03Z ru $ 26*0d5acd74SJohn Marino.\" 27*0d5acd74SJohn Marino.Dd August 10, 2003 28*0d5acd74SJohn Marino.Dt GBK 5 29*0d5acd74SJohn Marino.Os 30*0d5acd74SJohn Marino.Sh NAME 31*0d5acd74SJohn Marino.Nm gbk 32*0d5acd74SJohn Marino.Nd "Guojia biaozhun kuozhan (GBK) encoding method for Chinese text" 33*0d5acd74SJohn Marino.Sh SYNOPSIS 34*0d5acd74SJohn Marino.Nm ENCODING 35*0d5acd74SJohn Marino.Qq GBK 36*0d5acd74SJohn Marino.Sh DESCRIPTION 37*0d5acd74SJohn MarinoGBK is a backwards-compatible extension of the GB\ 2312-1980 encoding 38*0d5acd74SJohn Marinomethod for Chinese text, which adds the characters defined in the 39*0d5acd74SJohn MarinoUnified Han portion of the Unicode 2.1 standard. 40*0d5acd74SJohn Marino.Pp 41*0d5acd74SJohn MarinoMultibyte characters in the GBK 42*0d5acd74SJohn Marinoencoding can be one byte or two bytes long. 43*0d5acd74SJohn Marino.No GB\ 11383-1981 Pq Tn ASCII 44*0d5acd74SJohn Marinocharacters are represented by single bytes in the range 0x00 to 0x7F. 45*0d5acd74SJohn MarinoChinese characters are represented by two bytes, beginning with a byte in 46*0d5acd74SJohn Marinothe range 0x80-0xFE and ending with a byte in the range 0x40-0xFE. 47*0d5acd74SJohn Marino.Sh SEE ALSO 48*0d5acd74SJohn Marino.Xr euc 5 , 49*0d5acd74SJohn Marino.Xr gb18030 5 , 50*0d5acd74SJohn Marino.Xr gb2312 5 , 51*0d5acd74SJohn Marino.Xr utf8 5 52*0d5acd74SJohn Marino.Rs 53*0d5acd74SJohn Marino.%Q "The Unicode Consortium" 54*0d5acd74SJohn Marino.%T "The Unicode Standard, Version 2.1" 55*0d5acd74SJohn Marino.%D "1999" 56*0d5acd74SJohn Marino.Re 57*0d5acd74SJohn Marino.Rs 58*0d5acd74SJohn Marino.%T "Chinese National Standard GB 18030-2000: Information Technology -- Chinese ideograms coded character set for information interchange -- Extension for the basic set" 59*0d5acd74SJohn Marino.%D "March 2000" 60*0d5acd74SJohn Marino.Re 61*0d5acd74SJohn Marino.Sh STANDARDS 62*0d5acd74SJohn MarinoGBK is not a standard, but has been superseded by 63*0d5acd74SJohn MarinoGB\ 18030-2000. 64