From owner-ports-jp@jp.FreeBSD.org Tue Jul  6 17:47:30 2004
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id i668lUF11672;
	Tue, 6 Jul 2004 17:47:30 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from t-mta3.odn.ne.jp (mfep3.odn.ne.jp [143.90.131.181])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id i668lUI11667
	for <ports-jp@jp.FreeBSD.org>; Tue, 6 Jul 2004 17:47:30 +0900 (JST)
	(envelope-from delmonta@ht.sakura.ne.jp)
Received: from ht.sakura.ne.jp ([211.121.42.245]) by t-mta3.odn.ne.jp
          with ESMTP
          id <20040706084729865.ZHNT.153421.t-mta3.odn.ne.jp@mta3.odn.ne.jp>
          for <ports-jp@jp.FreeBSD.org>; Tue, 6 Jul 2004 17:47:29 +0900
Message-ID: <40EA670B.C2ECB55A@ht.sakura.ne.jp>
From: IIJIMA Hiromitsu <delmonta@ht.sakura.ne.jp>
Organization: DENNOU GEDOU GAKKAI, N. D. D. // FABRICA UTILITATIS
X-Mailer: Mozilla 4.78 [ja] (Win98; U)
X-Accept-Language: ja,en,zh-TW,zh,zh-CN,de,es,ko
MIME-Version: 1.0
To: ports-jp@jp.FreeBSD.org
References: <87n02luqo3.fsf@roddy.acest.tutrp.tut.ac.jp>
		 <7m4qop485e.wl@black3.imgsrc.co.jp> <86y8m15lm1.fsf@xa12.heimat.gr.jp>
		 <87u0wl96bh.fsf@roddy.acest.tutrp.tut.ac.jp>
		 <86acydhkjm.wl@vega.sitc.toshiba.co.jp>
		 <8765918v1d.fsf@roddy.acest.tutrp.tut.ac.jp> <87wu1h7dt5.fsf@roddy.acest.tutrp.tut.ac.jp>
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: ports-jp@jp.FreeBSD.org
Precedence: list
Date: Tue, 06 Jul 2004 17:47:07 +0900
X-Sequence: ports-jp 14850
Subject: [ports-jp 14850] Re: converters/libiconv and net/samba3
Sender: owner-ports-jp@jp.FreeBSD.org
X-Originator: delmonta@ht.sakura.ne.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+040628

$B$$$$$8$^$G$9!#(B

> I pretty sure that changing
> unicode yen sign representation from 00A5 to 005C is not. Same story about
> overline symbol. Could you carefuly comment all other changes you did,
> please?
> 
> $B$H;XE&$5$l$?$N$G!"!V$o$7$c$o$+$i$s!W$HF($2$F$-$^$7$?!#(B^^;;

$B$3$s$J46$8$G$I$&$G$7$g$&$+!#(B

(1)YEN SIGN: When ISO 646 was localized to JIS X0201, JIS committee changed
\x5C from backslash to yen sign. Most Japanese people, however, have used
for a long time yen sign in place of backslash as metacharacter such as
pathname separator on DOS/Windows or on C source code or shellscripts.
And we also have used it as yen currency sign like:
	printf("total: $B!o!o(B%d$B!o(Bn",total);

Therefore, Microsoft did a trick. Microsoft mapped JIS X0201's \x5C to
Unicode backslash (U+005C) whereas they left its glyph as yen sign.

(2)OVERLINE: The same story above applies to \x7E. JIS X0201 now states
that \x7E is overline by default but can be replaced with tilde.

The whole mapping table is available at:
http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT


========================================================================
$BHSEh(B $B9@8w(B / $B$G$k$b$s$?!&$$$$$8$^(B   http://www.ht.sakura.ne.jp/~delmonta/
IIJIMA Hiromitsu, aka Delmonta           mailto:delmonta@ht.sakura.ne.jp
