From owner-freebsd-current@FreeBSD.ORG Thu Jul 3 03:33:42 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C73086FB; Thu, 3 Jul 2014 03:33:42 +0000 (UTC) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns.kevlo.org", Issuer "ns.kevlo.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F5162499; Thu, 3 Jul 2014 03:33:41 +0000 (UTC) Received: from ns.kevlo.org (localhost [127.0.0.1]) by ns.kevlo.org (8.14.8/8.14.8) with ESMTP id s633XEao044225 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 3 Jul 2014 11:33:14 +0800 (CST) (envelope-from kevlo@ns.kevlo.org) Received: (from kevlo@localhost) by ns.kevlo.org (8.14.8/8.14.8/Submit) id s633XDcN044224; Thu, 3 Jul 2014 11:33:13 +0800 (CST) (envelope-from kevlo) Date: Thu, 3 Jul 2014 11:33:13 +0800 From: Kevin Lo To: dt71@gmx.com Subject: Re: freebsd and utf-8 directory names Message-ID: <20140703033313.GA44200@ns.kevlo.org> References: <3B0F582294DE3E448963BA62DC306AEE3C7F5FBCEC@exchange.mands.hu> <53B2C8B4.50306@gmx.com> <7C6EC1A0-520F-49CA-8C05-1F3205080543@FreeBSD.org> <53B335BB.5090402@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <53B335BB.5090402@gmx.com> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: freebsd-current@freebsd.org, David Chisnall X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2014 03:33:42 -0000 On Wed, Jul 02, 2014 at 12:27:07AM +0200, dt71@gmx.com wrote: > > David Chisnall wrote, On 07/01/2014 19:06: > > Please note that forums.freebsd.org is not a bug tracker. I tried searching the bug tracker for bugs with FAT and filename or FAT and utf-8/utf8/character in their names and could not find any reference to this issue. > > > > If you actually want to see bugs fixed, rather than just complain about them, please file them here: https://bugs.freebsd.org/bugzilla/enter_bug.cgi Make sure that you provide all of the steps required to reproduce them. > > I neglected to submit a bug report because: > (1) there were already at least 3 bug reports related to (FAT32 and) character sets or encodings, some of them even had patches; > (2) the reports were very old, indicating that the FreeBSD developers don't care about FAT32; > (3) at least one report was seemingly related, and I didn't want to create a(nother) possible duplicate. > > But now, eat this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191540 Well, I'm going to close that PR. :-) First, set LANG environment variable to hu_HU.UTF-8 in your case: # setenv LANG hu_HU.UTF-8 Second, mount the FAT32 partition in Hungarian locale: # mount_msdosfs -L hu_HU.UTF-8 /dev/da0s1 /mnt Third, untar your attachement file: # tar xvf /mnt/files.zip x 1’.txt x 2–.txt # stat 1’.txt 128 244744 -rwxr-xr-x 1 root wheel 4294967295 0 "Jan 1 08:00:00 1980" "Aug 1 16:57:52 2011" "Aug 1 16:57:52 2011" "Jul 3 11:28:24 2014" 16384 0 0x800 1’.txt # stat 2–.txt 128 244746 -rwxr-xr-x 1 root wheel 4294967295 0 "Jan 1 08:00:00 1980" "Aug 1 16:55:20 2011" "Aug 1 16:55:20 2011" "Jul 3 11:28:24 2014" 16384 0 0x800 2–.txt Let me know if that works for you, thanks. Kevin