From owner-freebsd-gnome@FreeBSD.ORG Fri Jul 23 09:21:46 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C95BE16A4CE for ; Fri, 23 Jul 2004 09:21:46 +0000 (GMT) Received: from smtp4.jp.viruscheck.net (smtp4.jp.viruscheck.net [154.33.69.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FF0943D5D for ; Fri, 23 Jul 2004 09:21:46 +0000 (GMT) (envelope-from bland@FreeBSD.org) Received: from scan3.jp.viruscheck.net ([154.33.69.38] helo=mail4.jp.viruscheck.net) by smtp4.jp.viruscheck.net with esmtp (Exim 3.36 #1) id 1BnwFJ-0007Fa-00; Fri, 23 Jul 2004 18:21:41 +0900 Received: from [220.221.2.219] (helo=noc.orchid) by mail4.jp.viruscheck.net with esmtp (Exim 3.36 #3) id 1BnwFI-0001Cu-00; Fri, 23 Jul 2004 18:21:40 +0900 Received: from [89.60.10.11] (horse.orchid [89.60.10.11]) by noc.orchid (8.12.11/8.12.11) with ESMTP id i6N9LdNK019007; Fri, 23 Jul 2004 18:21:40 +0900 (JST) (envelope-from bland@FreeBSD.org) Message-ID: <4100D8A3.1080903@FreeBSD.org> Date: Fri, 23 Jul 2004 18:21:39 +0900 From: Alexander Nedotsukov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a2) Gecko/20040714 X-Accept-Language: en-us, en MIME-Version: 1.0 To: NAKAJI Hiroyuki 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> In-Reply-To: <87zn5r73pt.fsf@roddy.acest.tutrp.tut.ac.jp> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit cc: gnome@FreeBSD.org Subject: Re: converters/libiconv change request for net/samba3 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2004 09:21:46 -0000 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.