From owner-freebsd-net@FreeBSD.ORG Tue Nov 28 09:41:54 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E33916A40F for ; Tue, 28 Nov 2006 09:41:54 +0000 (UTC) (envelope-from weiwu@sdf.lonestar.org) Received: from bossdog.realss.com (bossdog.realss.com [211.157.108.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7190243D6E for ; Tue, 28 Nov 2006 09:41:27 +0000 (GMT) (envelope-from weiwu@sdf.lonestar.org) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id 03FFC1C009F for ; Tue, 28 Nov 2006 17:41:43 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18206-17 for ; Tue, 28 Nov 2006 17:41:42 +0800 (CST) Received: from [192.168.0.17] (sappho.realss.com [218.85.101.243]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by bossdog.realss.com (Postfix) with ESMTP id C87231C009C for ; Tue, 28 Nov 2006 17:41:41 +0800 (CST) From: =?UTF-8?Q?=E5=BC=A0=E9=9F=A1=E6=AD=A6?= To: freebsd-net@freebsd.org Content-Type: text/plain Date: Tue, 28 Nov 2006 17:37:47 +0800 Message-Id: <1164706667.11377.0.camel@joe.realss> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at bossdog.realss.com Subject: mount_smbfs: charset convertion (-E) doesn't work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2006 09:41:54 -0000 Hello. I tried a lot of different methods but I cannot mount a Windows share which is in GB18030 charset to my FreeBSD host in UTF-8 charset. I always gets junk text. this process is better illustrated with this screenshot (I don't copy and paste the console text because that way the junk character in it might confuse email clinets). gopher://sdf.lonestar.org/I/users/weiwu/mount_chinese_smbshare.png In the screenshot, I do have mounted the share with -E parameter which should convert GB18030 folder names to UTF-8 but actually no convertion is done (see the ls | iconv which shows what it should be looking like if the convertion is done) Actually I have never succesfully done charset convertion with mount_smbfs, what did I do wrong? -E parameter which should convert GB18030 folder names to UTF-8 but actually no convertion is done (see the ls | iconv which shows what it should be looking like if the convertion is done) Actually I have never succesfully done charset convertion with mount_smbfs, what did I do wrong?