Bug 131743 - [ext2fs] utf-8 file names of ext2 partitions cause problems
Summary: [ext2fs] utf-8 file names of ext2 partitions cause problems
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-16 12:30 UTC by Elmar Stellnberger
Modified: 2009-02-18 13:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar Stellnberger 2009-02-16 12:30:00 UTC
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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-02-16 16:31:11 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Jaakko Heinonen 2009-02-16 17:38:33 UTC
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
Comment 3 estellnb 2009-02-16 18:50:45 UTC
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

Comment 4 estellnb 2009-02-18 12:16:09 UTC
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.
>
>   
Comment 5 Gavin Atkinson freebsd_committer freebsd_triage 2009-02-18 13:34:49 UTC
State Changed
From-To: open->closed

Close, this was a misconfiguration rather than a bug.