Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2004 18:21:39 +0900
From:      Alexander Nedotsukov <bland@FreeBSD.org>
To:        NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
Cc:        gnome@FreeBSD.org
Subject:   Re: converters/libiconv change request for net/samba3
Message-ID:  <4100D8A3.1080903@FreeBSD.org>
In-Reply-To: <87zn5r73pt.fsf@roddy.acest.tutrp.tut.ac.jp>
References:  <87acyd8zg0.fsf@roddy.acest.tutrp.tut.ac.jp> <40EA57EB.4060607@FreeBSD.org> <871xjp8sim.fsf@roddy.acest.tutrp.tut.ac.jp> <87fz84lfaw.fsf@roddy.acest.tutrp.tut.ac.jp> <40EB9607.6020906@FreeBSD.org> <87zn6a2cdy.fsf@roddy.acest.tutrp.tut.ac.jp> <87vfgy2bz9.fsf@roddy.acest.tutrp.tut.ac.jp> <87zn5r73pt.fsf@roddy.acest.tutrp.tut.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
NAKAJI Hiroyuki wrote:

>The converters/libiconv was updated to 1.9.2 and it cannot solve my
>problem, that is, much of Japanese characters are not displayed properly
>via Samba3.
>
>  
>
...

>You gnome team say libiconv is not wrong, but there exactly is a
>problem in handling japanese characters when libiconv is combined with
>samba3. Can you explain why? Is it due to samba3 only? Is it my fault?
>  
>
Well. Don't get me wrong. All I said that current GNU libiconv's mbc ->
wc conversion is correct and proposed hacks for yen and overline symbols
are not. At the same time I confirmed a problem in cp932 roundtrip and
promissed to commit patch for it only. Pehaps the only thing I guilty is
a very big feedback timeout :-) Sorry.
Fyi. There is nothing wrong with samba[1], vim, whateverelse in the
situation above. This is GNU libiconv design flaw if you wish. It's
conversion based on mbc->wc->mbc transition. Terefore it is impossible
to make a patch which will fix the situation for 100%.

[1] I fact I didn't paid much attention to your samba configuration
first time. Now I can say that you see excactly what supposed to be.
Please replace EUCJP-MS with EUCJP and you will be set. FYI. FreeBSD do
not support EUCJP-MS and therefore either EUCJP-MS encoding will be
added to GNU libiconv claiming that "unix charset = EUCJP-MS" is incorrect.

>Another question,
>
>in "XML Japanese Profile, W3C Note, 14 April 2000"
>http://www.w3.org/TR/2000/NOTE-japanese-xml-20000414/
>
>x-sjis-cp932                    (cp932)
>  
>
Implemented. Though not roundtrip issue compliant.

>x-eucjp-open-19970715-ms        (eucJP-ms)
>  
>
Not implemented.

>are listed, and are they implemented in libiconv properly?
>  
>
To get full list of supported encodings and their aliases you can always
use iconv -l.

Thanks for the cp932 patch I'll hope to be able to check it this weekends.

All the best,
Alexander.



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