From owner-freebsd-fs@FreeBSD.ORG Wed Feb 18 12:20:03 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82BE8106564A for ; Wed, 18 Feb 2009 12:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 65C0E8FC08 for ; Wed, 18 Feb 2009 12:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1ICK3kO077777 for ; Wed, 18 Feb 2009 12:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1ICK3aZ077776; Wed, 18 Feb 2009 12:20:03 GMT (envelope-from gnats) Date: Wed, 18 Feb 2009 12:20:03 GMT Message-Id: <200902181220.n1ICK3aZ077776@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Elmar Stellnberger Cc: Subject: Re: kern/131743: utf-8 file names of ext2 partitions cause problems X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Elmar Stellnberger List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 12:20:03 -0000 The following reply was made to PR kern/131743; it has been noted by GNATS. From: Elmar Stellnberger To: Jaakko Heinonen , bug-followup@freebsd.org Cc: Subject: Re: kern/131743: utf-8 file names of ext2 partitions cause problems Date: Wed, 18 Feb 2009 12:16:09 +0000 This is a multi-part message in MIME format. --------------060705010904020402090803 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Interestingly LC_ALL=en_US.UTF-8 works well with xterm, but with xterm only. All other apps from the ports tree like VLC or any KDE app like konsole or konqueror do not support utf-8. Perhaps we should reassign this bug to the ports project. Or do you think about a kernel charset conversion for filenames(iocharset=utf8) as an additional option? Jaakko Heinonen wrote: > On 2009-02-16, Elmar Stellnberger wrote: > >>> Class: sw-bug >>> > > >> FreeBSD refuses to mount ext2 partitions with the iocharset=utf8 and >> utf8 options. The consequence are not only wrongly displayed file >> names. >> > > I don't think this is a bug. For me FreeBSD ext2fs works fine with UTF-8 > encoded file names providing that you have configured locale settings > correctly. > > Do you expect "iocharset=utf8" and "utf8" mount options to convert > file names to some other encoding? AFAIK even Linux doesn't support such > options for ext2. > > --------------060705010904020402090803 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Interestingly LC_ALL=en_US.UTF-8 works well with xterm, but with xterm only.
All other apps from the ports tree like VLC or any KDE app like konsole or konqueror
do not support utf-8. Perhaps we should reassign this bug to the ports project.

Or do you think about a kernel charset conversion for filenames(iocharset=utf8)
 as an additional option?


Jaakko Heinonen wrote:
On 2009-02-16, Elmar Stellnberger wrote:
   
Class:          sw-bug
       

   
FreeBSD refuses to mount ext2 partitions with the iocharset=utf8 and
 utf8 options. The consequence are not only wrongly displayed file
 names.
     

 I don't think this is a bug. For me FreeBSD ext2fs works fine with UTF-8
 encoded file names providing that you have configured locale settings
 correctly.
 
 Do you expect "iocharset=utf8" and "utf8" mount options to convert
 file names to some other encoding? AFAIK even Linux doesn't support such
 options for ext2.
 
   

--------------060705010904020402090803--