Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/locale/big5.5
Show All 18 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd August 7, 2003 | .Dd September 12, 2019 | ||||
.Dt BIG5 5 | .Dt BIG5 5 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm big5 | .Nm big5 | ||||
.Nd | .Nd | ||||
.Dq "Big Five" | .Dq "Big Five" | ||||
encoding for Traditional Chinese text | encoding for Traditional Chinese text | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm ENCODING | .Nm ENCODING | ||||
.Qq BIG5 | .Qq BIG5 | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
.Dq Big Five | .Dq Big Five | ||||
is the de facto standard for encoding Traditional Chinese text. | is a standard for encoding Traditional Chinese text. | ||||
Each character is represented by either one or two bytes. | Each character is represented by either one or two bytes. | ||||
Characters from the | Characters from the | ||||
.Tn ASCII | .Tn ASCII | ||||
character set are represented as single bytes in the range 0x00 - 0x7F. | character set are represented as single bytes in the range 0x00 - 0x7F. | ||||
Traditional Chinese characters are represented by two bytes: | Traditional Chinese characters are represented by two bytes: | ||||
the first in the range 0xA1 - 0xFE, the second in the range | the first in the range 0xA1 - 0xFE, the second in the range | ||||
0x40 - 0xFE. | 0x40 - 0xFE. | ||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr euc 5 , | .Xr euc 5 , | ||||
.Xr gb18030 5 , | .Xr gb18030 5 , | ||||
.Xr utf8 5 | .Xr utf8 5 | ||||
.Sh BUGS | |||||
The range of the second byte overlaps some ASCII characters, including | |||||
0x5C (`\\') and 0x7C (`|') which may cause problems in program execution or | |||||
display. | |||||
Big5 is considered a legacy standard and only preserved for backward | |||||
compatibility reason. | |||||
New documents and systems are suggested using UTF-8 directly. |