Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jul 2004 11:30:31 +0900
From:      NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
To:        Alexander Nedotsukov <bland@freebsd.org>
Cc:        gnome@freebsd.org
Subject:   Re: converters/libiconv change request for net/samba3
Message-ID:  <87fz84lfaw.fsf@roddy.acest.tutrp.tut.ac.jp>
In-Reply-To: <871xjp8sim.fsf@roddy.acest.tutrp.tut.ac.jp> (NAKAJI Hiroyuki's message of "Tue, 06 Jul 2004 17:11:13 %2B0900")
References:  <87acyd8zg0.fsf@roddy.acest.tutrp.tut.ac.jp> <40EA57EB.4060607@FreeBSD.org> <871xjp8sim.fsf@roddy.acest.tutrp.tut.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello again,

>>>>>	NAKAJI Hiroyuki <nakaji@jp.freebsd.org> wrote:

> Sorry, I'm not sure about what the patch is changing for what. I only
> know that without this cp932-jis.patch net/samba3 cannot use EUC filename.

> About libiconv-1.9.1-cp932-jis.patch, contact the author MORIYAMA
> Masayuki <msyk@mtg.BIGLOBE.ne.jp> please.

I am very lucky to get some informations from my friends. They say that
libiconv is not complete and it needs refinement.

1. Miracle Linux, one of the Linux distribution company in Japan which
supports Samba i18n, has a web page about iconv problem. Please check it.

http://www.miraclelinux.com/english/technet/samba30/iconv_issues.html

2. Mr. Iijima gave me a sample explanation.

<cite>
(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.

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
</cite>

Thanks.
-- 
NAKAJI Hiroyuki



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