From nobody@FreeBSD.org  Mon Feb 16 12:21:54 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 84A8A106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Feb 2009 12:21:54 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 587E38FC1E
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Feb 2009 12:21:54 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1GCLsbR027680
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Feb 2009 12:21:54 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n1GCLsid027679;
	Mon, 16 Feb 2009 12:21:54 GMT
	(envelope-from nobody)
Message-Id: <200902161221.n1GCLsid027679@www.freebsd.org>
Date: Mon, 16 Feb 2009 12:21:54 GMT
From: Elmar Stellnberger <estellnb@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: utf-8 file names of ext2 partitions cause problems
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         131743
>Category:       kern
>Synopsis:       [ext2fs] utf-8 file names of ext2 partitions cause problems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-fs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 16 12:30:00 UTC 2009
>Closed-Date:    Wed Feb 18 13:36:25 UTC 2009
>Last-Modified:  Wed Feb 18 13:36:25 UTC 2009
>Originator:     Elmar Stellnberger
>Release:        7.1
>Organization:
>Environment:
FreeBSD scaleo.studiob 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
FreeBSD refuses to mount ext2 partitions with the iocharset=utf8 and utf8 options. The consequence are not only wrongly displayed file names. It causes difficulties accessing files: f.i. VLC media player refuses to open such files.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Feb 16 16:31:11 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131743 

From: Jaakko Heinonen <jh@saunalahti.fi>
To: Elmar Stellnberger <estellnb@gmail.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/131743: utf-8 file names of ext2 partitions cause problems
Date: Mon, 16 Feb 2009 19:38:33 +0200

 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

From: Elmar Stellnberger <estellnb@googlemail.com>
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
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <head>
 </head>
 <body bgcolor="#ffffff" text="#000000">
 Basically I would expect the utf8 file system option to convert from
 utf8 to whatever charset is selected by default at the moment.<br>
 I will have to have another look on how to enable utf8 on FreeBSD.
 Previously consulted web resources have not worked as expected.<br>
 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.<br>
 thx for any further hint.<br>
 <br>
 <div class="moz-text-plain" wrap="true" graphical-quote="true"
  style="font-family: -moz-fixed; font-size: 12px;" lang="x-western">
 <pre wrap="">On 2009-02-16, Elmar Stellnberger wrote:
 </pre>
 <blockquote type="cite">
   <blockquote type="cite">
     <pre wrap=""><span class="moz-txt-citetags">&gt; &gt;</span>Class:          sw-bug
     </pre>
   </blockquote>
 </blockquote>
 <pre wrap=""><!---->
 </pre>
 <blockquote type="cite">
   <pre wrap=""><span class="moz-txt-citetags">&gt; </span>FreeBSD refuses to mount ext2 partitions with the iocharset=utf8 and
 <span class="moz-txt-citetags">&gt; </span>utf8 options. The consequence are not only wrongly displayed file
 <span class="moz-txt-citetags">&gt; </span>names.
   </pre>
 </blockquote>
 <pre wrap=""><!---->
 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.
 
 <div class="moz-txt-sig">-- 
 Jaakko
 
 </div></pre>
 </div>
 <br>
 </body>
 </html>
 
 --------------070101080609050401060407--

From: Elmar Stellnberger <estellnb@googlemail.com>
To: Jaakko Heinonen <jh@saunalahti.fi>, 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
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <head>
   <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
 </head>
 <body bgcolor="#ffffff" text="#000000">
 Interestingly LC_ALL=en_US.UTF-8 works well with xterm, but with xterm
 only.<br>
 All other apps from the ports tree like VLC or any KDE app like konsole
 or konqueror <br>
 do not support utf-8. Perhaps we should reassign this bug to the ports
 project.<br>
 <br>
 Or do you think about a kernel charset conversion for
 filenames(iocharset=utf8)<br>
 &nbsp;as an additional option?<br>
 <br>
 <br>
 Jaakko Heinonen wrote:
 <blockquote
  cite="mid:20090216173832.GA775@a91-153-125-115.elisa-laajakaista.fi"
  type="cite">
   <pre wrap="">On 2009-02-16, Elmar Stellnberger wrote:
   </pre>
   <blockquote type="cite">
     <blockquote type="cite">
       <pre wrap="">Class:          sw-bug
       </pre>
     </blockquote>
   </blockquote>
   <pre wrap=""><!---->
   </pre>
   <blockquote type="cite">
     <pre wrap="">FreeBSD refuses to mount ext2 partitions with the iocharset=utf8 and
 utf8 options. The consequence are not only wrongly displayed file
 names.
     </pre>
   </blockquote>
   <pre wrap=""><!---->
 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.
 
   </pre>
 </blockquote>
 <br>
 </body>
 </html>
 
 --------------060705010904020402090803--
State-Changed-From-To: open->closed 
State-Changed-By: gavin 
State-Changed-When: Wed Feb 18 13:34:49 UTC 2009 
State-Changed-Why:  
Close, this was a misconfiguration rather than a bug. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131743 
>Unformatted:
