svn commit: r352794 - stable/11/lib/libc/locale

Li-Wen Hsu lwhsu at FreeBSD.org
Fri Sep 27 15:28:31 UTC 2019


Author: lwhsu
Date: Fri Sep 27 15:28:30 2019
New Revision: 352794
URL: https://svnweb.freebsd.org/changeset/base/352794

Log:
  MFC r352315:
  
  Improve the description of big5(5)
  
  - Fix the statement that big5 is a de facto standard of Traditional Chinese
    text [1]
  - Add a BUGS section describes the problem of big5 and suggests use utf8
  
  PR:		189095
  Submitted by:	Brennan Vincent <brennan at umanwizard.com> [1]
  Reviewed by:	Ting-Wei Lan <lantw44 at gmail.com>
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D21622

Modified:
  stable/11/lib/libc/locale/big5.5
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/libc/locale/big5.5
==============================================================================
--- stable/11/lib/libc/locale/big5.5	Fri Sep 27 15:28:01 2019	(r352793)
+++ stable/11/lib/libc/locale/big5.5	Fri Sep 27 15:28:30 2019	(r352794)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd August 7, 2003
+.Dd September 12, 2019
 .Dt BIG5 5
 .Os
 .Sh NAME
@@ -37,7 +37,7 @@ encoding for Traditional Chinese text
 .Qq BIG5
 .Sh DESCRIPTION
 .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.
 Characters from the
 .Tn ASCII
@@ -49,3 +49,10 @@ the first in the range 0xA1 - 0xFE, the second in the 
 .Xr euc 5 ,
 .Xr gb18030 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.


More information about the svn-src-all mailing list