xref: /freebsd/lib/libc/locale/big5.5 (revision 5d1f74b63d1c26ec26379bec3ca34ed9d69e231a)
18ca5fa51STim J. Robbins.\" Copyright (c) 2002, 2003 Tim J. Robbins
28ca5fa51STim J. Robbins.\" All rights reserved.
38ca5fa51STim J. Robbins.\"
48ca5fa51STim J. Robbins.\" Redistribution and use in source and binary forms, with or without
58ca5fa51STim J. Robbins.\" modification, are permitted provided that the following conditions
68ca5fa51STim J. Robbins.\" are met:
78ca5fa51STim J. Robbins.\" 1. Redistributions of source code must retain the above copyright
88ca5fa51STim J. Robbins.\"    notice, this list of conditions and the following disclaimer.
98ca5fa51STim J. Robbins.\" 2. Redistributions in binary form must reproduce the above copyright
108ca5fa51STim J. Robbins.\"    notice, this list of conditions and the following disclaimer in the
118ca5fa51STim J. Robbins.\"    documentation and/or other materials provided with the distribution.
128ca5fa51STim J. Robbins.\"
138ca5fa51STim J. Robbins.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
148ca5fa51STim J. Robbins.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
158ca5fa51STim J. Robbins.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
168ca5fa51STim J. Robbins.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
178ca5fa51STim J. Robbins.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
188ca5fa51STim J. Robbins.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
198ca5fa51STim J. Robbins.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
208ca5fa51STim J. Robbins.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
218ca5fa51STim J. Robbins.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
228ca5fa51STim J. Robbins.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
238ca5fa51STim J. Robbins.\" SUCH DAMAGE.
248ca5fa51STim J. Robbins.\"
258ca5fa51STim J. Robbins.\" $FreeBSD$
26b9384efcSRuslan Ermilov.\"
27*5d1f74b6SLi-Wen Hsu.Dd September 12, 2019
288ca5fa51STim J. Robbins.Dt BIG5 5
298ca5fa51STim J. Robbins.Os
308ca5fa51STim J. Robbins.Sh NAME
318ca5fa51STim J. Robbins.Nm big5
32b9384efcSRuslan Ermilov.Nd
33b9384efcSRuslan Ermilov.Dq "Big Five"
34b9384efcSRuslan Ermilovencoding for Traditional Chinese text
358ca5fa51STim J. Robbins.Sh SYNOPSIS
368ca5fa51STim J. Robbins.Nm ENCODING
378ca5fa51STim J. Robbins.Qq BIG5
388ca5fa51STim J. Robbins.Sh DESCRIPTION
398ca5fa51STim J. Robbins.Dq Big Five
40*5d1f74b6SLi-Wen Hsuis a standard for encoding Traditional Chinese text.
418ca5fa51STim J. RobbinsEach character is represented by either one or two bytes.
428ca5fa51STim J. RobbinsCharacters from the
438ca5fa51STim J. Robbins.Tn ASCII
448ca5fa51STim J. Robbinscharacter set are represented as single bytes in the range 0x00 - 0x7F.
458ca5fa51STim J. RobbinsTraditional Chinese characters are represented by two bytes:
468ca5fa51STim J. Robbinsthe first in the range 0xA1 - 0xFE, the second in the range
478ca5fa51STim J. Robbins0x40 - 0xFE.
488ca5fa51STim J. Robbins.Sh SEE ALSO
498962b7a5STim J. Robbins.Xr euc 5 ,
508ca5fa51STim J. Robbins.Xr gb18030 5 ,
518ca5fa51STim J. Robbins.Xr utf8 5
52*5d1f74b6SLi-Wen Hsu.Sh BUGS
53*5d1f74b6SLi-Wen HsuThe range of the second byte overlaps some ASCII characters, including
54*5d1f74b6SLi-Wen Hsu0x5C (`\\') and 0x7C (`|') which may cause problems in program execution or
55*5d1f74b6SLi-Wen Hsudisplay.
56*5d1f74b6SLi-Wen HsuBig5 is considered a legacy standard and only preserved for backward
57*5d1f74b6SLi-Wen Hsucompatibility reason.
58*5d1f74b6SLi-Wen HsuNew documents and systems are suggested using UTF-8 directly.
59