From owner-man-jp-reviewer@jp.FreeBSD.org Thu May  6 19:43:54 2004
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id i46AhsY45425;
	Thu, 6 May 2004 19:43:54 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from mx02.mitsumi.co.jp (mx02.mitsumi.co.jp [202.33.112.205])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id i46Ahs945420
	for <man-jp-reviewer@jp.FreeBSD.org>; Thu, 6 May 2004 19:43:54 +0900 (JST)
	(envelope-from ikeuchi@t-i-t.co.jp)
Received: from mvc01.mitsumi.co.jp ([192.168.1.254])
	by mx02.mitsumi.co.jp (8.11.6p2/8.11.6) with ESMTP id i46Ahra09333
	for <man-jp-reviewer@jp.FreeBSD.org>; Thu, 6 May 2004 19:43:53 +0900
Received: from mmx01.mitsumi.co.jp (localhost [127.0.0.1] (may be forged))
	by mvc01.mitsumi.co.jp (8.11.6/8.11.6) with ESMTP id i46Aqv708071
	for <man-jp-reviewer@jp.FreeBSD.org>; Thu, 6 May 2004 19:52:57 +0900
Received: from ml01.mic.mitsumi.co.jp (mic.mitsumi.co.jp [172.17.5.244])
	by mmx01.mitsumi.co.jp (8.9.3p2+3.2W/3.7W) with ESMTP id TAA17693
	for <man-jp-reviewer@jp.FreeBSD.org>; Thu, 6 May 2004 19:43:37 +0900
Received: from t-i-t.co.jp ([172.17.40.221])
	by ml01.mic.mitsumi.co.jp (8.11.6/8.11.6) with ESMTP id i46Ai6H00406;
	Thu, 6 May 2004 19:44:10 +0900
Message-ID: <409A16D3.7090601@t-i-t.co.jp>
From: Akira Ikeuchi <ikeuchi@t-i-t.co.jp>
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
X-Accept-Language: ja, en-us, en
MIME-Version: 1.0
To: man-jp-reviewer@jp.FreeBSD.org
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
Reply-To: man-jp-reviewer@jp.FreeBSD.org
Precedence: list
Date: Thu, 06 May 2004 19:43:31 +0900
X-Sequence: man-jp-reviewer 4595
Subject: [man-jp-reviewer 4595] locale.1, etc.
Sender: owner-man-jp-reviewer@jp.FreeBSD.org
X-Originator: ikeuchi@t-i-t.co.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+040430

$BCSFb$G$9!#(B

$B%m%1!<%k4X78$N=iLu$G$9!#(B
$B%A%'%C%/$*4j$$CW$7$^$9!#(B

utf8.5 $B$,Ls(B 1 $B%v7nA0$K99?7(B
$B$5$l$F$$$^$7$?$,!"DI=>:Q$_$G$9!#(B


diff -ur original/big5.5 japanese/big5.5
--- original/big5.5	Sat Jan 24 09:34:10 2004
+++ japanese/big5.5	Sat Jan 24 11:00:45 2004
@@ -26,23 +26,22 @@
 .Dd August 7, 2003
 .Dt BIG5 5
 .Os
-.Sh NAME
+.Sh $BL>>N(B
 .Nm big5
-.Nd "``Big Five'' encoding for Traditional Chinese text"
-.Sh SYNOPSIS
+.Nd "$BEAE}E*$JCf9q8l%F%-%9%H$N$?$a$N(B ``Big Five'' $B%(%s%3!<%G%#%s%0(B"
+.Sh $B=q<0(B
 .Nm ENCODING
 .Qq BIG5
-.Sh DESCRIPTION
+.Sh $B2r@b(B
 .Dq Big Five
-is the de facto standard for encoding Traditional Chinese text.
-Each character is represented by either one or two bytes.
-Characters from the
+$B$OEAE}E*$JCf9q8l$N%F%-%9%H$r%(%s%3!<%I$9$k$?$a$N%G%U%!%/%H%9%?%s%@!<%I$G$9!#(B
+$B8D!9$NJ8;z$O(B 1 $B%P%$%H$^$?$O(B 2 $B%P%$%H$GI=8=$5$l$^$9!#(B
 .Tn ASCII
-character set are represented as single bytes in the range 0x00 - 0x7F.
-Traditional Chinese characters are represented by two bytes:
-the first in the range 0xA1 - 0xFE, the second in the range
-0x40 - 0xFE.
-.Sh SEE ALSO
+$B%-%c%i%/%?%;%C%H$+$i$NJ8;z$O(B 0x00 - 0x7F $B$NHO0O$N(B 1 $B%P%$%H$H$7$F(B
+$BI=8=$5$l$^$9!#(B
+$BEAE}E*$JCf9q8lJ8;z$O(B 2 $B%P%$%H$GI=8=$5$l$^$9(B:
+1 $BJ8;zL\$O(B 0xA1 - 0xFE $B$NHO0O$G!"(B2 $BJ8;zL\$O(B 0x40 - 0xFE $B$NHO0O$G$9!#(B
+.Sh $B4XO"9`L\(B
 .Xr euc 5 ,
 .Xr gb18030 5 ,
 .Xr utf8 5
diff -ur original/euc.5 japanese/euc.5
--- original/euc.5	Sat Jan 24 09:34:16 2004
+++ japanese/euc.5	Thu Apr  8 14:14:48 2004
@@ -38,10 +38,10 @@
 .Dd November 8, 2003
 .Dt EUC 5
 .Os
-.Sh NAME
+.Sh $BL>>N(B
 .Nm euc
-.Nd EUC encoding of wide characters
-.Sh SYNOPSIS
+.Nd $B%o%$%I%-%c%i%/%?$N(B EUC $B%(%s%3!<%G%#%s%0(B
+.Sh $B=q<0(B
 .Nm ENCODING
 .Qq EUC
 .Pp
@@ -55,7 +55,7 @@
 .Ar len4
 .Ar mask4
 .Ar mask
-.Sh DESCRIPTION
+.Sh $B2r@b(B
 .\"The
 .\".Nm EUC
 .\"encoding is provided for compatibility with
@@ -68,70 +68,72 @@
 .\"source file format.
 .\".Pp
 .Nm EUC
-implements a system of 4 multibyte codesets.
-A multibyte character in the first codeset consists of
+$B$O(B 4 $B%^%k%A%P%$%H$N%3!<%I%;%C%H$N%7%9%F%`$r<BAu$7$F$$$^$9!#(B
+1 $BHVL\$N%3!<%I%;%C%H$N%^%k%A%P%$%HJ8;z$O(B 0x00 $B$+$i(B 0x7f $B$NHO0O$N(B
+$B%P%$%H$G;O$^$k(B
 .Ar len1
-bytes starting with a byte in the range of 0x00 to 0x7f.
-To allow use of ASCII,
+$B%P%$%H$G9=@.$5$l$^$9!#(B
+ASCII $B$r;HMQ$G$-$k$h$&$K$9$k$?$a!"(B
 .Ar len1
-is always 1.
-A multibyte character in the second codeset consists of
+$B$O>o$K(B 1 $B$G$9!#(B
+2 $BHVL\$N%3!<%I%;%C%H$N%^%k%A%P%$%HJ8;z$O(B 0x8e $B$H(B 0x8f $B$r(B
+$B=|$/(B 0x80 $B$+$i(B 0xff $B$NHO0O$N%P%$%H$G;O$^$k(B
 .Ar len2
-bytes starting with a byte in the range of 0x80-0xff excluding 0x8e and 0x8f.
-A multibyte character in the third codeset consists of
+$B%P%$%H$G9=@.$5$l$^$9!#(B
+3 $BHVL\$N%3!<%I%;%C%H$N%^%k%A%P%$%HJ8;z$O(B 0x8e $B%P%$%H$G;O$^$k(B
 .Ar len3
-bytes starting with the byte 0x8e.
-A multibyte character in the fourth codeset consists of
+$B%P%$%H$G9=@.$5$l$^$9!#(B
+4 $BHVL\$N%3!<%I%;%C%H$N%^%k%A%P%$%HJ8;z$O(B 0x8f $B%P%$%H$G;O$^$k(B
 .Ar len4
-bytes starting with the byte 0x8f.
+$B%P%$%H$G9=@.$5$l$^$9!#(B
 .Pp
-The
-.Va wchar_t
-encoding of
 .Nm EUC
-multibyte characters is dependent on the
+$B%^%k%A%P%$%HJ8;z$N(B
+.Va wchar_t
+$B%(%s%3!<%G%#%s%0$O!"(B
 .Ar len
-and
+$B$*$h$S(B
 .Ar mask
-arguments.
-First, the bytes are moved into a
+$B0z?t$K0MB8$7$^$9!#(B
+$B@h$:!"0J2<$N$h$&$K(B
 .Va wchar_t
-as follows:
+$B$K%P%$%H$,0\F0$5$l$^$9(B:
 .Bd -literal
 byte0 << ((\fIlen\fPN-1) * 8) | byte1 << ((\fIlen\fPN-2) * 8) | ... | byte\fIlen\fPN-1
 .Ed
 .Pp
-The result is then ANDed with
+$B$=$N7k2L$O$=$l$+$i(B
 .Ar ~mask
-and ORed with
-.Ar maskN .
-Codesets 2 and 3 are special in that the leading byte (0x8e or 0x8f) is
-first removed and the
+$B$H(B AND $B$r$H$i$l!"(B
+.Ar maskN
+$B$H(B OR $B$r$H$i$l$^$9!#(B
+$B%3!<%I%;%C%H(B 2 $B$H(B 3 $B$OFC<l$G!"A0$N%P%$%H(B (0x8e $B$^$?$O(B 0x8f) $B$,:G=i$K(B
+$B<h$j=|$+$l(B
 .Ar lenN
-argument is reduced by 1.
+$B0z?t$,(B 1 $B8:>/$5$;$i$l$^$9!#(B
 .Pp
-For example, the
+$BNc$($P!"(B
 .Li ja_JP.eucJP
-locale has the following
+$B%m%1!<%k$O0J2<$N(B
 .Ev VARIABLE
-line:
+$B9T$r;}$C$F$$$^$9(B:
 .Bd -literal
 VARIABLE	1 0x0000 2 0x8080 2 0x0080 3 0x8000 0x8080
 .Ed
 .Pp
-Codeset 1 consists of the values 0x0000 - 0x007f.
+$B%3!<%I%;%C%H(B 1 $B$O(B 0x0000 - 0x007f $B$NCM$G9=@.$5$l$^$9!#(B
 .Pp
-Codeset 2 consists of the values who have the bits 0x8080 set.
+$B%3!<%I%;%C%H(B 2 $B$O(B 0x8080 $B$N%S%C%H$,(B 1 $B$G$"$kCM$G9=@.$5$l$^$9!#(B
 .Pp
-Codeset 3 consists of the values 0x0080 - 0x00ff.
+$B%3!<%I%;%C%H(B 3 $B$O(B 0x0080 - 0x00ff $B$NCM$G9=@.$5$l$^$9!#(B
 .Pp
-Codeset 4 consists of the values 0x8000 - 0xff7f excluding the values
-which have the 0x0080 bit set.
+$B%3!<%I%;%C%H(B 4 $B$O(B 0x0080 $B$N%S%C%H$,(B 1 $B$G$"$kCM$r=|30$7$?(B 0x8000 - 0xff7f $B$N(B
+$BCM$G9=@.$5$l$^$9!#(B
 .Pp
-Notice that the global
+$B%0%m!<%P%k$J(B
 .Ar mask
-is set to 0x8080, this implies that from those 2 bits the codeset can
-be determined.
-.Sh "SEE ALSO"
+$B$O(B 0x8080 $B$K%;%C%H$5$l!"$3$l$O$3$l$i(B 2 $B%S%C%H$+$i$=$N%3!<%I%;%C%H$,(B
+$B7hDj$5$l$k$3$H$r0UL#$7$F$$$k$3$H$K!"Cm0U$7$F$/$@$5$$!#(B
+.Sh $B4XO"9`L\(B
 .Xr mklocale 1 ,
 .Xr setlocale 3
diff -ur original/gb18030.5 japanese/gb18030.5
--- original/gb18030.5	Sat Jan 24 09:34:32 2004
+++ japanese/gb18030.5	Thu May  6 16:11:30 2004
@@ -26,39 +26,37 @@
 .Dd August 10, 2003
 .Dt GB18030 5
 .Os
-.Sh NAME
+.Sh $BL>>N(B
 .Nm gb18030
-.Nd "GB 18030 encoding method for Chinese text"
-.Sh SYNOPSIS
+.Nd "$BCf9q8l%F%-%9%H$N$?$a$N(B GB 18030 $B%(%s%3!<%G%#%s%0%a%=%C%I(B"
+.Sh $B=q<0(B
 .Nm ENCODING
 .Qq GB18030
-.Sh DESCRIPTION
-The
+.Sh $B2r@b(B
 .Nm GB18030
-encoding implements GB 18030-2000, a PRC national standard for the encoding of
-Chinese characters.
-It is a superset of the older GB\ 2312-1980 and GBK encodings,
-and incorporates Unicode's Unihan Extension A completely.
-It also provides code space for all Unicode 3.0 code points.
+$B%(%s%3!<%G%#%s%0$O(B GB 18030-2000, $BCf9q8lJ8;z%;%C%H$N%(%s%3!<%G%#%s%0$N$?$a$N(B
+RPC $B9q:]5,3J$r<BAu$7$^$9!#(B
+$B$3$l$O8E$$(B GB\ 2312-1980 $B$*$h$S(B GBK $B%(%s%3!<%G%#%s%0$N%9!<%Q%;%C%H$G!"(B
+Unicode $B$N(B Unihan $B3HD%(B A $B$r40A4$KAH$_F~$l$F$$$^$9!#(B
+$B$^$?!"(BUnicode 3.0 $B%3!<%I$NA4$F$N%3!<%I6u4V$r6!5k$7$^$9!#(B
 .Pp
-Multibyte characters in the
 .Nm GB18030
-encoding can be one byte, two bytes, or
-four bytes long.
-There are a total of over 1.5 million code positions.
+$B%(%s%3!<%G%#%s%0$NCf$N%^%k%A%P%$%HJ8;z$O(B 1 $B%P%$%H!"(B2 $B%P%$%H$^$?$O(B 4 $B%P%$%H(B
+$BD9$G$"$k$3$H$,$G$-$^$9!#(B
+$B%H!<%?%k(B 150 $BK|0J>e$N%3!<%I%]%8%7%g%s$,B8:_$7$^$9!#(B
 .Pp
 .No GB\ 11383-1981 ( Ns
 .Tn ASCII )
-characters are represented by single bytes in the range 0x00 to 0x7F.
+$BJ8;z$O(B 0x00 $B$+$i(B 0x7F $B$^$G$NHO0O$N(B 1 $B%P%$%H$GI=8=$5$l$^$9!#(B
 .Pp
-Chinese characters are represented as either two bytes or four bytes.
-Characters that are represented by two bytes begin with a byte in the range
-0x81-0xFE and end with a byte either in the range 0x40-0x7E or 0x80-0xFE.
+$BCf9q8lJ8;z$O(B 2 $B%P%$%H$^$?$O(B 4 $B%P%$%H$N$I$A$i$+$GI=8=$5$l$^$9!#(B
+2 $B%P%$%H$GI=8=$5$l$kJ8;z$O(B 0x81-0xFE $B$NHO0O$N%P%$%H$G;O$^$j!"(B
+0x40-0x7E $B$^$?$O(B 0x80-0xFE $B$NHO0O$N%P%$%H$G=*$j$^$9!#(B
 .Pp
-Characters that are represented by four bytes begin with a byte in the range
-0x81-0xFE, have a second byte in the range 0x30-0x39, a third byte in the range
-0x81-0xFE and a fourth byte in the range 0x30-0x39.
-.Sh SEE ALSO
+4 $B%P%$%H$GI=8=$5$l$kJ8;z$O(B 0x81-0xFE $B$NHO0O$N%P%$%H$G;O$^$j!"(B
+2 $B%P%$%HL\$O(B 0x30-0x39 $B$NHO0O$G!"(B3 $B%P%$%HL\$O(B 0x81-0xFE $B$SHO0O$G!"(B
+4 $B%P%$%HL\$O(B 0x30-0x39 $B$NHO0O$r;}$A$^$9!#(B
+.Sh $B4XO"9`L\(B
 .Xr euc 5 ,
 .Xr gb2312 5 ,
 .Xr gbk 5 ,
@@ -72,7 +70,6 @@
 .%T "The Unicode Standard, Version 3.0"
 .%D "2000"
 .Re
-.Sh STANDARDS
-The
+.Sh $B5,3J(B
 .Nm GB18030
-encoding is believed to be compatible with GB 18030-2000.
+$B%(%s%3!<%G%#%s%0$O(B GB 18030-2000 $B$H8_49@-$,$"$k$O$:$G$9!#(B
diff -ur original/gb2312.5 japanese/gb2312.5
--- original/gb2312.5	Sat Jan 24 09:34:32 2004
+++ japanese/gb2312.5	Thu May  6 16:26:38 2004
@@ -26,32 +26,30 @@
 .Dd November 7, 2003
 .Dt GB2312 5
 .Os
-.Sh NAME
+.Sh $BL>>N(B
 .Nm gb2312
-.Nd "GB2312 encoding method for Chinese text"
-.Sh SYNOPSIS
+.Nd "$BCf9q8l%F%-%9%H$N$?$a$N(B GB2312 $B%(%s%3!<%G%#%s%0%a%=%C%I(B"
+.Sh $B=q<0(B
 .Nm ENCODING
 .Qq GB2312
-.Sh DESCRIPTION
-The
+.Sh $B2r@b(B
 .Nm GB2312
-encoding implements GB\ 2312-1980, a PRC national standard
-for the encoding of simplified Chinese characters.
+$B%(%s%3!<%G%#%s%0$O!"4JBN;zCf9q8lJ8;z$N%(%s%3!<%G%#%s%0$N(B
+$B$?$a$N(B PRC national standard $B$G$"$k(B GB\ 2312-1980 $B$r<BAu$7$^$9!#(B
 .Pp
-Multibyte characters in the GB2312
-encoding can be one byte or two bytes long.
+GB2312 $B%(%s%3!<%G%#%s%0$NCf$N%^%k%A%P%$%HJ8;z$O(B 1 $B%P%$%HD9$^$?$O(B
+2 $B%P%$%HD9$G$"$k$3$H$,2DG=$G$9!#(B
 .No GB\ 11383-1981 ( Ns
 .Tn ASCII )
-characters are represented by single bytes in the range 0x00 to 0x7F.
-Simplified Chinese characters are represented by two bytes, both in
-the range 0xA1-0xFE.
-.Sh SEE ALSO
+$BJ8;z$O(B 0x00 $B$+$i(B 0x7F $B$NHO0O$N(B 1 $B%P%$%H$GI=8=$5$l$^$9!#(B
+$B4JBN;zCf9q8lJ8;z$ON>J}$H$b(B 0xA1-0xFE $B$NHO0O$N(B 2 $B%P%$%H$GI=8=$5$l$^$9!#(B
+.Sh $B4XO"9`L\(B
 .Xr euc 5 ,
 .Xr gb18030 5 ,
 .Xr gbk 5
-.Sh STANDARDS
+.Sh $B5,3J(B
 The
 .Nm GB2312
-encoding is believed to be compatible with GB\ 2312-1980.
-This standard has been superceded by GB\ 18030-2000, but is still
-in wide use.
+$B%(%s%3!<%G%#%s%0$O(B GB\ 2312-1980 $B$H8_49@-$,$"$k$O$:$G$9!#(B
+$B$3$N5,3J$O(B GB\ 18030-2000 $B$K$h$C$FCV$-49$($i$l$^$7$?$,!"(B
+$B$$$^$@$K9-$/;HMQ$5$l$F$$$^$9!#(B
diff -ur original/gbk.5 japanese/gbk.5
--- original/gbk.5	Sat Jan 24 09:34:32 2004
+++ japanese/gbk.5	Mon Feb  2 15:47:00 2004
@@ -26,25 +26,26 @@
 .Dd August 10, 2003
 .Dt GBK 5
 .Os
-.Sh NAME
+.Sh $BL>>N(B
 .Nm gbk
-.Nd "Guojia biaozhun kuozhan (GBK) encoding method for Chinese text"
-.Sh SYNOPSIS
+.Nd "$BCf9q8l%F%-%9%H$N$?$a$N(B Guojia biaozhun kuozhan (GBK) $B%(%s%3!<%G%#%s%0%a%=%C%I(B"
+.Sh $B=q<0(B
 .Nm ENCODING
 .Qq GBK
-.Sh DESCRIPTION
-GBK is a backwards-compatible extension of the GB\ 2312-1980 encoding
-method for Chinese text, which adds the characters defined in the
-Unified Han portion of the Unicode 2.1 standard.
+.Sh $B2r@b(B
+GBK $B$OCf9q8l%F%-%9%H$N$?$a$N(B GB\ 2312-1980 $B%(%s%3!<%G%#%s%0%a%=%C%I$N(B
+$B8eJ}8_493HD%$G$9!#(B
+$B$3$l$O!"(BUnicode 2.1 $B5,3J$N(B Unified Han $BItJ,$GDj5A$5$l$F$$$kJ8;z$,(B
+$BDI2C$5$l$F$$$^$9!#(B
 .Pp
-Multibyte characters in the GBK
-encoding can be one byte or two bytes long.
+GBK $B%(%s%3!<%G%#%s%0$NCf$N%^%k%A%P%$%HJ8;z$O(B 1 $B%P%$%H$^$?$O(B 2 $B%P%$%HD9(B
+$B$G$"$k$3$H$,2DG=$G$9!#(B
 .No GB\ 11383-1981 ( Ns
 .Tn ASCII )
-characters are represented by single bytes in the range 0x00 to 0x7F.
-Chinese characters are represented by two bytes, beginning with a byte in
-the range 0x80-0xFE and ending with a byte in the range 0x40-0xFE.
-.Sh SEE ALSO
+$BJ8;z$O(B 0x00 $B$+$i(B 0x7F $B$NHO0O$N(B 1 $B%P%$%H$K$h$C$FI=8=$5$l$^$9!#(B
+$BCf9q8lJ8;z$O(B 0x80-0xFE $B$NHO0O$N%P%$%H$G;O$^$j(B 0x40-0xFE $B$NHO0O$N(B
+$B%P%$%H$G=*$o$k!"(B2 $B%P%$%H$K$h$C$FI=8=$5$l$^$9!#(B
+.Sh $B4XO"9`L\(B
 .Xr euc 5 ,
 .Xr gb18030 5 ,
 .Xr gb2312 5 ,
@@ -58,6 +59,7 @@
 .%T "Chinese National Standard GB 18030-2000: Information Technology -- Chinese ideograms coded character set for information interchange -- Extension for the basic set"
 .%D "March 2000"
 .Re
-.Sh STANDARDS
-GBK is not a standard, but has been superceded by
-GB\ 18030-2000.
+.Sh $B5,3J(B
+GBK $B$O5,3J$G$O$"$j$^$;$s$,!"(B
+GB\ 18030-2000
+$B$K$h$C$FCV$-49$($i$l$^$7$?!#(B
diff -ur original/locale.1 japanese/locale.1
--- original/locale.1	Sat Jan 24 09:33:57 2004
+++ japanese/locale.1	Sat Jan 24 10:40:42 2004
@@ -28,67 +28,64 @@
 .Dd June 20, 2003
 .Dt LOCALE 1
 .Os
-.Sh NAME
+.Sh $BL>>N(B
 .Nm locale
-.Nd get locale-specific information
-.Sh SYNOPSIS
+.Nd $B%m%1!<%kFCM-$N>pJs$N<hF@(B
+.Sh $B=q<0(B
 .Nm
 .Op Fl a | Fl m
 .Nm
 .Op Fl ck
 .Op Ar keyword ...
-.Sh DESCRIPTION
-The
+.Sh $B2r@b(B
 .Nm
-utility is supposed to provide most locale specific information to
-the standard output.
+$B%f!<%F%#%j%F%#$O%m%1!<%kFCM-$N>pJs$N$[$H$s$I$r!"I8=`=PNO$K=PNO$9$k$3$H$r(B
+$B%5%]!<%H$7$^$9!#(B
 .Pp
-When
 .Nm
-is invoked without arguments, it will print out a summary of the current
-locale environment depending on environment variable settings and
-internal status.
+$B$,0z?tL5$7$G5/F0$5$l$?$H$-$K$O!"4D6-JQ?t$N@_Dj$HFbIt>uBV$K0MB8$7$?!"(B
+$B8=:_$N%m%1!<%k4D6-$N35MW$r0u;z$7$^$9!#(B
 .Pp
-When
 .Nm
-is invoked with arguments and no options specified, it will print out
-.Em keyword Ns No 's
-value determined using the current locale settings.
+$B$,0z?tIU$-$G$+$D%*%W%7%g%s$N;XDjL5$7$G5/F0$5$l$?$H$-$K$O!"(B
+$B8=:_$N%m%1!<%k$N@_Dj$r;HMQ$7$F7hDj$5$l$?(B
+.Em keyword
+$B$NCM$r0u;z$7$^$9!#(B
 .Pp
-The following options are available:
+$B0J2<$N%*%W%7%g%s$,MxMQ2DG=$G$9(B:
 .Bl -tag -width indent
 .It Fl a
-Write names of all available locales.
-While looking for locales,
+$BA4$F$NMxMQ2DG=$J%m%1!<%k$NL>>N$r=PNO$7$^$9!#(B
+$B%m%1!<%k$r8!:w$7$F$$$k4V$O!"(B
 .Nm
-will respect the
+$B$O(B
 .Ev PATH_LOCALE
-environment variable, and use it instead of the system's default locale
-directory.
+$B4D6-JQ?t$r=E;k$7!"%7%9%F%`$N%G%U%)%k%H$N%m%1!<%k%G%#%l%/%H%j$KBe$o$C$F(B
+$B;HMQ$7$^$9!#(B
 .It Fl m
-Write names of all available charmaps.
+$BA4$F$NMxMQ2DG=$J(B charmap $B$NL>>N$r=PNO$7$^$9!#(B
 .It Fl k
-Write the name and value of the selected keywords.
+$BA*Br$5$l$?%-!<%o!<%I$NL>>N$HCM$r=PNO$7$^$9!#(B
 .It Fl c
-Write the category name for the selected keywords.
+$BA*Br$5$l$?%-!<%o!<%I$?$a$N%+%F%4%j$NL>>N$r=PNO$7$^$9!#(B
 .El
-.Sh IMPLEMENTATION DETAILS
-Special (FreeBSD specific) keyword
+.Sh $B<BAu$N>\:Y(B
+$BMxMQ2DG=$J%-!<%o!<%I$N?M4V$,FI$a$k7A<0$N%j%9%H$r<h$j=P$9$?$a$K!"(B
+$BFCJL$J(B (FreeBSD $BFCM-$N(B) $B%-!<%o!<%I$G$"$k(B
 .Ar list
-can be used to retrieve human readable list of available keywords.
-.Sh DIAGNOSTICS
-The
-.Nm
-utility exits 0 on success, and >0 if an error occurs.
-.Sh BUGS
-Since
+$B$,;HMQ2DG=$G$9!#(B
+.Sh $B?GCG(B
+.Nm
+$B%f!<%F%#%j%F%#$O@.8y;~$K$O(B 0 $B$G!"%(%i!<$,H/@8$7$?>l9g$K$O(B >0 $B$G(B
+$B=*N;$7$^$9!#(B
+.Sh $B%P%0(B
 .Fx
-does not support
-.Em charmap Ns No s
-in their
+$B$,(B
 .Em POSIX
-meaning,
+$B$,0UL#$9$k$H$3$m$N(B
+.Em charmap
+$B$r%5%]!<%H$7$F$$$J$$$?$a!"(B
 .Nm
-emulates the
+$B$OA4$F$NMxMQ2DG=$J%m%1!<%k$N(B CODESET $B$N%j%9%F%#%s%0$r2p$7$F(B
 .Ar m
-option via CODESETs listing of all available locales.
+$B%*%W%7%g%s$r%(%_%e%l!<%H$7$^$9!#(B
diff -ur original/mskanji.5 japanese/mskanji.5
--- original/mskanji.5	Sat Jan 24 09:34:56 2004
+++ japanese/mskanji.5	Sun Feb  1 15:44:27 2004
@@ -26,44 +26,41 @@
 .Dd August 7, 2003
 .Dt MSKANJI 5
 .Os
-.Sh NAME
+.Sh $BL>>N(B
 .Nm mskanji
-.Nd "Shift-JIS (MS Kanji) encoding for Japanese text"
-.Sh SYNOPSIS
+.Nd "$BF|K\8l%F%-%9%H$N$?$a$N(B Shift-JIS (MS $B4A;z(B) $B%(%s%3!<%G%#%s%0(B"
+.Sh $B=q<0(B
 .Nm ENCODING
 .Qq MSKanji
-.Sh DESCRIPTION
-Shift-JIS, also known as MS Kanji or SJIS, is an encoding system for
-Japanese characters, developed by Microsoft Corporation.
-It encodes the characters from the
+.Sh $B2r@b(B
+MS $B4A;z$^$?$O(B SJIS $B$H$7$F$bCN$i$l$k(B Shift-JIS $B$O(B Microsoft Corporation $B$K$h$C$F(B
+$B3+H/$5$l$?!"F|K\8lJ8;z$N$?$a$N%(%s%3!<%G%#%s%0%7%9%F%`$G$9!#(B
+$B$3$l$O(B 1 $B%P%$%H$^$?$O(B 2 $B%P%$%H$NJB$S$N(B
 .Tn JIS
-X 0201 (ASCII/JIS-Roman) and
+X 0201 (ASCII/JIS-Roman) $B$*$h$S(B
 .Tn JIS
-X 0208 (Japanese) character sets as sequences of either one or two bytes.
+X 0208 ($BF|K\8l(B) $BJ8;z%;%C%H$NJ8;z$r%(%s%3!<%I$7$^$9!#(B
 .Pp
-Characters from the
 .Tn ASCII Ns
-/JIS-Roman character set are encoded as single bytes between 0x00 and 0x7F
-(ASCII) or 0xA1 and 0xDF (Half-width katakana).
+/JIS-Roman $BJ8;z%;%C%H$+$i$NJ8;z$O(B 0x00 $B$H(B 0x7F (ASCII) $B$^$?$O(B
+0xA1 $B$H(B 0xDF ($BH>3Q%+%?%+%J(B) $B$N4V$N(B 1 $B%P%$%H$H$7$F%(%s%3!<%I$5$l$^$9!#(B
 .Pp
-Characters from the
 .Tn JIS
-X 0208 character set are encoded as two bytes.
-The first ranges from
-0x81 - 0x9F, 0xE0 - 0xEA, 0xED - 0xEE (not
-.Tn JIS Ns :
-.Tn NEC Ns - Ns
-selected
+X 0208 $BJ8;z%;%C%H$+$i$NJ8;z$O(B 2 $B%P%$%H$H$7$F%(%s%3!<%I$5$l$^$9!#(B
+$B:G=i$N%P%$%H$NHO0O$O(B 0x81 - 0x9F, 0xE0 - 0xEA, 0xED - 0xEE
+.Tn ( JIS
+$B$G$O$J$$(B: NEC $B$,A*$s$@(B
 .Tn IBM
-extended characters),
-0xF0 - 0xF9 (not
-.Tn JIS Ns :
-user defined),
-or 0xFA - 0xFC (not
-.Tn JIS Ns :
+$B3HD%J8;z(B),
+0xF0 - 0xF9
+.Tn ( JIS
+$B$G$O$J$$(B: $B%f!<%6Dj5A(B),
+$B$^$?$O(B 0xFA - 0xFC
+.Tn ( JIS
+$B$G$O$J$$(B:
 .Tn IBM
-extended characters).
-The second byte ranges from 0x40 - 0xFC, excluding 0x7F (delete).
-.Sh SEE ALSO
+$B3HD%J8;z(B) $B$G$9!#(B
+2 $BHVL\$N%P%$%H$NHO0O$O(B 0x7F (delete) $B$r=|$/(B 0x40 - 0xFC $B$G$9!#(B
+.Sh $B4XO"9`L\(B
 .Xr euc 5 ,
 .Xr utf8 5
diff -ur original/utf2.5 japanese/utf2.5
--- original/utf2.5	Sat Jan 24 09:34:52 2004
+++ japanese/utf2.5	Thu May  6 19:39:03 2004
@@ -38,44 +38,44 @@
 .Dd October 11, 2002
 .Dt UTF2 5
 .Os
-.Sh NAME
+.Sh $BL>>N(B
 .Nm utf2
-.Nd "Universal character set Transformation Format encoding of wide characters
-.Sh SYNOPSIS
+.Nd "$B%o%$%I%-%c%i%/%?$N0lHLE*$JJ8;z%;%C%HJQ49%U%)!<%^%C%H%(%s%3!<%G%#%s%0(B"
+.Sh $B=q<0(B
 .Nm ENCODING
 .Qq UTF2
-.Sh DESCRIPTION
+.Sh $B2r@b(B
 .Bf Em
-The UTF2 encoding has been deprecated in favour of UTF-8.
+UTF-8 $B$,A*$P$l!"(BUTF-2 $B%(%s%3!<%G%#%s%0$OH]Dj$5$l$^$7$?!#(B
 .Ef
-New applications should not use UTF2.
+$B?7$7$$%"%W%j%1!<%7%g%s$O(B UTF2 $B$r;HMQ$9$k$Y$-$G$O$"$j$^$;$s!#(B
 .Pp
-The
 .Nm UTF2
-encoding is based on a proposed X-Open multibyte
-\s-1FSS-UCS-TF\s+1 (File System Safe Universal Character Set Transformation Format) encoding as used in
-.Sy "Plan 9 from Bell Labs" .
-Although it is capable of representing more than 16 bits,
-the current implementation is limited to 16 bits as defined by the
-Unicode Standard.
+$B%(%s%3!<%G%#%s%0$O(B
+.Sy "Plan 9 from Bell Labs"
+$B$G;HMQ$5$l$F$$$k(B X-Open $B$N%^%k%A%P%$%H(B
+\s-1FSS-UCS-TF\s+1 (File System Safe Universal Character Set
+Transformation Format) $B%(%s%3!<%G%#%s%0$r%Y!<%9$H$7$F$$$^$9!#(B
+$B$3$l$O(B 16 $B%S%C%H$r1[$($kI=8=G=NO$,$"$j$^$9$,!"8=:_$N<BAu$O(B Unicode Standard $B$K(B
+$B$h$C$FDj5A$5$l$?(B 16 $B%S%C%H$K@)8B$5$l$F$$$^$9!#(B
 .Pp
 .Nm UTF2
-representation is backwards compatible with ASCII, so 0x00-0x7f refer to the
-ASCII character set.  The multibyte encodings of wide characters between
-0x0080 and 0xffff
-consist entirely of bytes whose high order bit is set.  The actual
-encoding is represented by the following table:
+$BI=8=$O(B ASCII $B$H8eJ}8_49@-$r;}$C$F$$$k$?$a!"(B0x00-0x7f $B$O(B ASCII $BJ8;z%;%C%H$r(B
+$B;2>H$7$^$9!#(B
+0x0080 $B$H(B 0xffff $B$N4V$N%o%$%I%-%c%i%/%?$N%^%k%A%P%$%HI=8=$O!"(B
+$BA4It$,>e0L%S%C%H$,(B 1 $B$K%;%C%H$5$l$F$$$k%P%$%H$G9=@.$5$l$F$$$^$9!#(B
+$B<B:]$N%(%s%3!<%G%#%s%0$O0J2<$N%F!<%V%k$GI=8=$5$l$^$9(B:
 .Bd -literal
 [0x0000 - 0x007f] [00000000.0bbbbbbb] -> 0bbbbbbb
 [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,
-0x00; 0xC0 0x80; 0xE0 0x80 0x80) the shortest representation is always
-used (but the longer ones will be correctly decoded).
+1 $B$D$h$j$bB?$/$NCM$NI=8=$,B8:_$9$k>l9g(B ($BNc$($P!"(B0x00; 0xC0 0x80;
+0xE0 0x80 0x80) $B$K$O!":GC;$NI=8=$,>o$K;HMQ$5$l$^$9(B ($B$,!"$h$jD9$$(B
+$BI=8=$O@53N$K%G%3!<%I$5$l$^$;$s(B)$B!#(B
 .Pp
-The final three encodings provided by X-Open:
+$B:G8e$K(B X-Open $B$K$h$C$FDs6!$5$l$k(B 3 $B$D$N%(%s%3!<%G%#%s%0$G$9(B:
 .Bd -literal
 [00000000.000bbbbb.bbbbbbbb.bbbbbbbb] ->
 	11110bbb, 10bbbbbb, 10bbbbbb, 10bbbbbb
@@ -87,9 +87,8 @@
 	1111110b, 10bbbbbb, 10bbbbbb, 10bbbbbb, 10bbbbbb, 10bbbbbb
 .Ed
 .Pp
-which provides for the entire proposed ISO-10646 31 bit standard are currently
-not implemented.
-.Sh "SEE ALSO"
+$B$3$l$i$O8=:_<BAu$5$l$F$$$J$$(B ISO-10646 31 $B%S%C%H5,3J$r40A4$KDs6!$7$^$9!#(B
+.Sh "$B4XO"9`L\(B"
 .Xr mklocale 1 ,
 .Xr setlocale 3 ,
 .Xr utf8 5
diff -ur original/utf8.5 japanese/utf8.5
--- original/utf8.5	Mon Apr 12 21:58:41 2004
+++ japanese/utf8.5	Thu May  6 19:00:15 2004
@@ -38,28 +38,25 @@
 .Dd April 7, 2004
 .Dt UTF8 5
 .Os
-.Sh NAME
+.Sh $BL>>N(B
 .Nm utf8
-.Nd "UTF-8, a transformation format of ISO 10646"
-.Sh SYNOPSIS
+.Nd "UTF-8, ISO 10646 $B$NJQ49%U%)!<%^%C%H(B"
+.Sh $B=q<0(B
 .Nm ENCODING
 .Qq UTF-8
-.Sh DESCRIPTION
-The
+.Sh $B2r@b(B
 .Nm UTF-8
-encoding represents UCS-4 characters as a sequence of octets, using
-between 1 and 6 for each character.
-It is backwards compatible with
-.Tn ASCII ,
-so 0x00-0x7f refer to the
+$B%(%s%3!<%G%#%s%0$O3F!9$NJ8;zKh$K(B 1 $B$+$i(B 6 $B%*%/%F%C%H$N%7!<%1%s%9$H$7$F(B
+UCS-4 $BJ8;z$rI=8=$7$^$9!#(B
+$B$3$l$O(B
 .Tn ASCII
-character set.
-The multibyte encoding of
-.No non- Ns Tn ASCII
-characters
-consist entirely of bytes whose high order bit is set.
-The actual
-encoding is represented by the following table:
+$B$H8eJ}8_49@-$r;}$C$F$$$k$?$a!"(B0x00-0x7f $B$O(B
+.Tn ASCII
+$BJ8;z%;%C%H$r;2>H$7$^$9!#(B
+.Tn ASCII
+$B$G$O$J$$J8;z$N%^%k%A%P%$%H%(%s%3!<%G%#%s%0$O!"(B
+$BA4It$,>e0L%S%C%H$,(B 1 $B$K%;%C%H$5$l$F$$$k%P%$%H$G9=@.$5$l$F$$$^$9!#(B
+$B<B:]$N%(%s%3!<%G%#%s%0$O0J2<$N%F!<%V%k$GI=8=$5$l$^$9(B:
 .Bd -literal
 [0x00000000 - 0x0000007f] [00000000.0bbbbbbb] -> 0bbbbbbb
 [0x00000080 - 0x000007ff] [00000bbb.bbbbbbbb] -> 110bbbbb, 10bbbbbb
@@ -73,31 +70,29 @@
 	1111110b, 10bbbbbb, 10bbbbbb, 10bbbbbb, 10bbbbbb, 10bbbbbb
 .Ed
 .Pp
-If more than a single representation of a value exists (for example,
-0x00; 0xC0 0x80; 0xE0 0x80 0x80) the shortest representation is always
-used.
-Longer ones are detected as an error as they pose a potential
-security risk, and destroy the 1:1 character:octet sequence mapping.
-.Sh COMPATIBILITY
-The
+1 $B$D$h$j$bB?$/$NCM$NI=8=$,B8:_$9$k>l9g(B ($BNc$($P!"(B0x00; 0xC0 0x80;
+0xE0 0x80 0x80) $B$K$O!":GC;$NI=8=$,>o$K;HMQ$5$l$^$9!#(B
+$B$h$jD9$$I=8=$O%(%i!<$H$7$F8!=P$5$l$^$9!#(B
+$B$3$ND9$$I=8=$O@x:_E*$J%;%-%e%j%F%#%j%9%/$r;}$A=P$7!"(B
+1:1 $B$N(B $BJ8;z(B:$B%*%/%F%C%H%7!<%1%s%9%^%C%T%s%0(B $B$rGK2u$7$^$9!#(B
+.Sh $B8_49@-(B
 .Nm
-encoding supersedes the
+$B%(%s%3!<%G%#%s%0$O(B
 .Xr utf2 5
-encoding.
-The only differences between the two are that
+$B%(%s%3!<%G%#%s%0$rCV$-49$($^$9!#(B
+$B$3$l$i(B 2 $B$D4V$NM#0l$N0c$$$O(B
 .Nm
-handles the full 31-bit character set of
+$B$,%U%k$K(B
 .Tn ISO
 10646
-whereas
+$B$N(B 31 $B%S%C%HJ8;z%;%C%H$r<h$j07$&$N$KBP$7!"(B
 .Xr utf2 5
-is limited to a 16-bit character set,
-and that
+$B$,(B 16 $B%S%C%HJ8;z%;%C%H$K@)8B$5$l$F$$$k$3$H$H!"(B
 .Xr utf2 5
-accepts redundant,
-.No non- Ns Dq "shortest form"
-representations of characters.
-.Sh SEE ALSO
+$B$,J8;z$N>iD9$J(B
+.Dq "$B:GC;7A<0(B"
+$B$G$O$J$$I=8=$r5v2D$9$k$3$H$G$9!#(B
+.Sh $B4XO"9`L\(B
 .Xr euc 5 ,
 .Xr utf2 5
 .Rs
@@ -120,7 +115,6 @@
 .%D "2000"
 .%O "as amended by the Unicode Standard Annex #27: Unicode 3.1 and by the Unicode Standard Annex #28: Unicode 3.2"
 .Re
-.Sh STANDARDS
-The
+.Sh $B5,3J(B
 .Nm
-encoding is compatible with RFC 2279 and Unicode 3.2.
+$B%(%s%3!<%G%#%s%0$O(B RFC 2279 $B$*$h$S(B Unicode 3.2 $B$H8_49@-$,$"$j$^$9!#(B

