From owner-freebsd-questions@FreeBSD.ORG Mon Nov 27 02:46:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CC07916A415 for ; Mon, 27 Nov 2006 02:46:32 +0000 (UTC) (envelope-from weiwu@sdf.lonestar.org) Received: from sdf.lonestar.org (mx.freeshell.ORG [192.94.73.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id E183D43D49 for ; Mon, 27 Nov 2006 02:45:34 +0000 (GMT) (envelope-from weiwu@sdf.lonestar.org) Received: from sdf.lonestar.org (IDENT:weiwu@sdf.lonestar.org [192.94.73.1]) by sdf.lonestar.org (8.13.5.20060308/8.13.8) with ESMTP id kAR2kQ7x010960 for ; Mon, 27 Nov 2006 02:46:26 GMT Received: (from weiwu@localhost) by sdf.lonestar.org (8.13.8/8.12.8/Submit) id kAR2kQeQ002185 for freebsd-questions@freebsd.org; Mon, 27 Nov 2006 02:46:26 GMT Date: Mon, 27 Nov 2006 02:46:26 +0000 From: Zhang Weiwu To: freebsd-questions@freebsd.org Message-ID: <20061127024626.GA2957@SDF.LONESTAR.ORG> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: mount_smbfs: charset convertion (-E) doesn't work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2006 02:46:32 -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? -- weiwu@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org