Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 1997 07:50:01 -0700 (PDT)
From:      Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
To:        freebsd-bugs
Subject:   Re: docs/4555: Typo in utf2(4) man page 
Message-ID:  <199709231450.HAA14615@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/4555; it has been noted by GNATS.

From: Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
To: "Daniel O'Callaghan" <danny@freebsd.org>
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
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709231450.HAA14615>