xref: /freebsd/lib/libc/locale/big5.5 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
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.\"
25*89064ec6SMateusz Piotrowski.Dd April 1, 2020
268ca5fa51STim J. Robbins.Dt BIG5 5
278ca5fa51STim J. Robbins.Os
288ca5fa51STim J. Robbins.Sh NAME
298ca5fa51STim J. Robbins.Nm big5
30b9384efcSRuslan Ermilov.Nd
31b9384efcSRuslan Ermilov.Dq "Big Five"
32b9384efcSRuslan Ermilovencoding for Traditional Chinese text
338ca5fa51STim J. Robbins.Sh SYNOPSIS
348ca5fa51STim J. Robbins.Nm ENCODING
358ca5fa51STim J. Robbins.Qq BIG5
368ca5fa51STim J. Robbins.Sh DESCRIPTION
378ca5fa51STim J. Robbins.Dq Big Five
385d1f74b6SLi-Wen Hsuis a standard for encoding Traditional Chinese text.
398ca5fa51STim J. RobbinsEach character is represented by either one or two bytes.
40*89064ec6SMateusz PiotrowskiCharacters from the ASCII character set are represented as
41*89064ec6SMateusz Piotrowskisingle bytes in the range 0x00 - 0x7F.
428ca5fa51STim J. RobbinsTraditional Chinese characters are represented by two bytes:
438ca5fa51STim J. Robbinsthe first in the range 0xA1 - 0xFE, the second in the range
448ca5fa51STim J. Robbins0x40 - 0xFE.
458ca5fa51STim J. Robbins.Sh SEE ALSO
468962b7a5STim J. Robbins.Xr euc 5 ,
478ca5fa51STim J. Robbins.Xr gb18030 5 ,
488ca5fa51STim J. Robbins.Xr utf8 5
495d1f74b6SLi-Wen Hsu.Sh BUGS
505d1f74b6SLi-Wen HsuThe range of the second byte overlaps some ASCII characters, including
51*89064ec6SMateusz Piotrowski0x5C
52*89064ec6SMateusz Piotrowski.Pq Ql \e
53*89064ec6SMateusz Piotrowskiand 0x7C
54*89064ec6SMateusz Piotrowski.Pq Ql |
55*89064ec6SMateusz Piotrowskiwhich may cause problems in program execution or
565d1f74b6SLi-Wen Hsudisplay.
575d1f74b6SLi-Wen HsuBig5 is considered a legacy standard and only preserved for backward
585d1f74b6SLi-Wen Hsucompatibility reason.
595d1f74b6SLi-Wen HsuNew documents and systems are suggested using UTF-8 directly.
60