From owner-freebsd-fs@FreeBSD.ORG Mon Feb 16 18:50:02 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 68FBC106566B for ; Mon, 16 Feb 2009 18:50:02 +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 55CD78FC2A for ; Mon, 16 Feb 2009 18:50:02 +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 n1GIo2L9054732 for ; Mon, 16 Feb 2009 18:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1GIo2FX054731; Mon, 16 Feb 2009 18:50:02 GMT (envelope-from gnats) Date: Mon, 16 Feb 2009 18:50:02 GMT Message-Id: <200902161850.n1GIo2FX054731@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Elmar Stellnberger Cc: Subject: Re: 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: Mon, 16 Feb 2009 18:50:02 -0000 The following reply was made to PR kern/131743; it has been noted by GNATS. From: Elmar Stellnberger To: bug-followup@FreeBSD.org, jh@saunalahti.fi Cc: Subject: Re: Re: kern/131743: utf-8 file names of ext2 partitions cause problems Date: Mon, 16 Feb 2009 18:50:45 +0000 This is a multi-part message in MIME format. --------------070101080609050401060407 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Basically I would expect the utf8 file system option to convert from utf8 to whatever charset is selected by default at the moment. I will have to have another look on how to enable utf8 on FreeBSD. Previously consulted web resources have not worked as expected. Nevertheless if enabling utf8 as default charset is all I need to do in order to view and access these files correctly that should be fine for me. thx for any further hint. 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. -- Jaakko --------------070101080609050401060407 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Basically I would expect the utf8 file system option to convert from utf8 to whatever charset is selected by default at the moment.
I will have to have another look on how to enable utf8 on FreeBSD. Previously consulted web resources have not worked as expected.
Nevertheless if enabling utf8 as default charset is all I need to do in order to view and access these files correctly that should be fine for me.
thx for any further hint.

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.
 
 
-- Jaakko

--------------070101080609050401060407--