From owner-freebsd-bugs Tue Sep 23 07:50:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA14624 for bugs-outgoing; Tue, 23 Sep 1997 07:50:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA14615; Tue, 23 Sep 1997 07:50:01 -0700 (PDT) Date: Tue, 23 Sep 1997 07:50:01 -0700 (PDT) Message-Id: <199709231450.HAA14615@hub.freebsd.org> To: freebsd-bugs Cc: From: Dmitrij Tejblum Subject: Re: docs/4555: Typo in utf2(4) man page Reply-To: Dmitrij Tejblum Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR docs/4555; it has been noted by GNATS. From: Dmitrij Tejblum To: "Daniel O'Callaghan" Cc: freebsd-gnats-submit@freebsd.org Subject: Re: docs/4555: Typo in utf2(4) man page Date: Tue, 23 Sep 1997 18:42:42 +0400 "Daniel O'Callaghan" wrote: > Look closely and you'll see that the ranges are 0x0000-0x007f, > 0x0080-0x03ff and > 0x0400 -0xffff, making three contiguous ranges. Your patch would > suggest an overlap > as the middle range would end at 0x07ff, after the third range starts at > 0x0400. > Oops, you are right. Here is a better patch. --- /usr/src/lib/libc/locale/utf2.4 Tue Sep 16 18:20:11 1997 +++ utf2.4 Tue Sep 23 18:37:32 1997 @@ -60,8 +60,8 @@ encoding is represented by the following table: .Bd -literal [0x0000 - 0x007f] [00000000.0bbbbbbb] -> 0bbbbbbb -[0x0080 - 0x03ff] [00000bbb.bbbbbbbb] -> 110bbbbb, 10bbbbbb -[0x0400 - 0xffff] [bbbbbbbb.bbbbbbbb] -> 1110bbbb, 10bbbbbb, 10bbbbbb +[0x0080 - 0x07ff] [00000bbb.bbbbbbbb] -> 110bbbbb, 10bbbbbb +[0x0800 - 0xffff] [bbbbbbbb.bbbbbbbb] -> 1110bbbb, 10bbbbbb, 10bbbbbb .Ed .Pp If more than a single representation of a value exists (for example, Dima