Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 1997 22:15:18 +0400 (MSD)
From:      Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   docs/4555: Typo in utf2(4) man page
Message-ID:  <199709161815.WAA14422@yandex.hq.cti.ru>
Resent-Message-ID: <199709161820.LAA10702@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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