From owner-freebsd-current@FreeBSD.ORG Tue Jul 1 14:42:38 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 089F9ADB for ; Tue, 1 Jul 2014 14:42:38 +0000 (UTC) Received: from mout.gmx.com (mout.gmx.com [74.208.4.200]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C85D4286A for ; Tue, 1 Jul 2014 14:42:37 +0000 (UTC) Received: from [157.181.96.215] ([157.181.96.215]) by mail.gmx.com (mrgmxus001) with ESMTPSA (Nemesis) id 0M1moe-1WlpC02nXO-00tmxw for ; Tue, 01 Jul 2014 16:42:30 +0200 Message-ID: <53B2C8B4.50306@gmx.com> Date: Tue, 01 Jul 2014 16:41:56 +0200 From: dt71@gmx.com User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: freebsd and utf-8 directory names References: <3B0F582294DE3E448963BA62DC306AEE3C7F5FBCEC@exchange.mands.hu> In-Reply-To: <3B0F582294DE3E448963BA62DC306AEE3C7F5FBCEC@exchange.mands.hu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:Twz4QemmHjsXmQ23u0xdNAOkarw0YMZVrItuUa+nneoYj9hJ4Cx 4sjUnY+d91FMHPjGWXmDFPt/69XFZ8ynvXSu4/S2d8aMGKulJZwYZNr8UTnBvpJUMacW8DE /qJjYtrhWRgZFkeK2dDrPbttHL5tBJhS+RAO7NA/5bfrWltAonIxSEU63d1QR3BfuWL215w hiJNiD88eTGd8vI9QWcEA== 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: Tue, 01 Jul 2014 14:42:38 -0000 M&S - Krasznai AndrĂ¡s wrote, On 06/30/2014 08:30: > There is a partition formatted for FAT32 where I store documents which I would like to view (and edit) both in windows and freebsd. > > The problem is that if the path name contains certain Hungarian characters (e.g o with double accent), then libreoffice in FreeBSD refuses to open them complaining about illegal characters. The directory was created in windows, the document also, and I can handle them perfectly from windows (what is more, libreoffice under a linux can also open those documents). Some accented characters are shown as a question mark in FreeBSD, and some others are as a black rectangle; these latter are causing problems. If a file-nam contains such characters then the file is shown as 0- length in Midnight Commander. This is not limited to Hungarian characters. There are bugs in FreeBSD's FAT handling code. According to an IRC discussion with "mux", FreeBSD has plenty of VOP_LOOKUP bugs, and this case hits such a bug. To allow FreeBSD to read files with fancy UTF-8 characters in their names, mount the FAT32 partition with ``-o shortnames''. Then, you won't be able to use proper file naming (so this is not even a workaround), but at least you'll be able to read the said files. Poke the FreeBSD developers to start fixing bugs, maybe (but not very likely) that will help. Also, you're at least the 3rd user (I'm at least the 2nd) that runs into this case; ie., here's a report: http://forums.freebsd.org/showthread.php?t=14612 (of course, this does not contain a solution).