From owner-freebsd-bugs Tue Sep 16 11:20:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA10727 for bugs-outgoing; Tue, 16 Sep 1997 11:20:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA10702; Tue, 16 Sep 1997 11:20:02 -0700 (PDT) Resent-Date: Tue, 16 Sep 1997 11:20:02 -0700 (PDT) Resent-Message-Id: <199709161820.LAA10702@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, tejblum@arc.hq.cti.ru Received: from yandex.hq.cti.ru (arc.hq.cti.ru [194.67.85.53]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA10313 for ; Tue, 16 Sep 1997 11:15:32 -0700 (PDT) Received: (from tejblum@localhost) by yandex.hq.cti.ru (8.8.7/8.8.5) id WAA14422; Tue, 16 Sep 1997 22:15:18 +0400 (MSD) Message-Id: <199709161815.WAA14422@yandex.hq.cti.ru> Date: Tue, 16 Sep 1997 22:15:18 +0400 (MSD) From: Dmitrij Tejblum Reply-To: tejblum@arc.hq.cti.ru To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/4555: Typo in utf2(4) man page Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 4555 >Category: docs >Synopsis: Typo in utf2(4) man page >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 16 11:20:00 PDT 1997 >Last-Modified: >Originator: Dmitrij Tejblum >Organization: CompTek >Release: FreeBSD 2.2-STABLE i386 >Environment: >Description: utf2(4) claims that runes 0x0080-0x03ff (00000bbb.bbbbbbbb) encoded with 2 ^ ^^^ bytes. Of course, it really means 0x0080-0x07ff. >How-To-Repeat: >Fix: --- /usr/src/lib/libc/locale/utf2.4 Tue Sep 16 18:20:11 1997 +++ utf2.4 Tue Sep 16 21:45:31 1997 @@ -60,7 +60,7 @@ encoding is represented by the following table: .Bd -literal [0x0000 - 0x007f] [00000000.0bbbbbbb] -> 0bbbbbbb -[0x0080 - 0x03ff] [00000bbb.bbbbbbbb] -> 110bbbbb, 10bbbbbb +[0x0080 - 0x07ff] [00000bbb.bbbbbbbb] -> 110bbbbb, 10bbbbbb [0x0400 - 0xffff] [bbbbbbbb.bbbbbbbb] -> 1110bbbb, 10bbbbbb, 10bbbbbb .Ed .Pp >Audit-Trail: >Unformatted: