GNU bug report logs - #25630
multibyte: df: unicode is not supported on mounted point

Previous Next

Package: coreutils;

Reported by: Jaeseok Park <jaeseok.park <at> daliworks.net>

Date: Mon, 6 Feb 2017 06:24:02 UTC

Severity: wishlist

Full log


Message #11 received at 25630 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Jaeseok Park <jaeseok.park <at> daliworks.net>
Cc: 25630 <at> debbugs.gnu.org
Subject: Re: bug#25630: [bug/df] Unicode is not supported on mounted point
 when I execute "df" command
Date: Tue, 7 Feb 2017 08:04:33 -0800
On 07/02/17 05:11, Jaeseok Park wrote:
> Dear Pádraig
> 
> Thank you for your reply.
> 
> 1. Maybe its volume name seems to be encoded by UTF-8. I formatted my USB storage on OSX.
> 
> 2. My $LC_ALL is empty and $LANG is "ko_KR.UTF-8".
> 
> 3. The result of gls is as below:
> 
> BEAGLEBONE
> boot.tar
> ext
> ssd
> ''$'\341\204\206\341\205\256\341\204\214\341\205\246'

Ah right that's the decomposed form.
HFS must use that for normalization of file names.
Using that I can reproduce your issue with an incorrect locale:

# LC_ALL=ko_KR df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       100M  120K  100M   1% /root/�??�?��??�?�
# LC_ALL=ko_KR.UTF-8 df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       100M  120K  100M   1% /root/무제


I.E. It looks like you have the wrong locale settings for the df command.
Please try setting LC_ALL as above, or otherwise setting UTF-8.

thanks,
Pádraig




This bug report was last modified 6 years and 312 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.