X-Loop: help-debbugs@HIDDEN Subject: bug#25630: [bug/df] Unicode is not supported on mounted point when I execute "df" command Resent-From: Jaeseok Park <jaeseok.park@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Mon, 06 Feb 2017 06:24:02 +0000 Resent-Message-ID: <handler.25630.B.14863621914123 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 25630 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 25630 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.14863621914123 (code B ref -1); Mon, 06 Feb 2017 06:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Feb 2017 06:23:11 +0000 Received: from localhost ([127.0.0.1]:57116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cachj-00014R-Cg for submit <at> debbugs.gnu.org; Mon, 06 Feb 2017 01:23:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jaeseok.park@HIDDEN>) id 1cacBA-0000Bz-9k for submit <at> debbugs.gnu.org; Mon, 06 Feb 2017 00:49:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <jaeseok.park@HIDDEN>) id 1cacB4-0001Qy-Bz for submit <at> debbugs.gnu.org; Mon, 06 Feb 2017 00:49:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_50,HTML_IMAGE_ONLY_20, HTML_MESSAGE,T_DKIM_INVALID,T_FILL_THIS_FORM_SHORT,T_REMOTE_IMAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53075) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <jaeseok.park@HIDDEN>) id 1cacB4-0001Qq-8w for submit <at> debbugs.gnu.org; Mon, 06 Feb 2017 00:49:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <jaeseok.park@HIDDEN>) id 1cacB3-0002hQ-6b for bug-coreutils@HIDDEN; Mon, 06 Feb 2017 00:49:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <jaeseok.park@HIDDEN>) id 1cacB2-0001PO-Ca for bug-coreutils@HIDDEN; Mon, 06 Feb 2017 00:49:25 -0500 Received: from mail-it0-x22b.google.com ([2607:f8b0:4001:c0b::22b]:38036) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <jaeseok.park@HIDDEN>) id 1cacB2-0001PK-6q for bug-coreutils@HIDDEN; Mon, 06 Feb 2017 00:49:24 -0500 Received: by mail-it0-x22b.google.com with SMTP id c7so50344217itd.1 for <bug-coreutils@HIDDEN>; Sun, 05 Feb 2017 21:49:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daliworks-net.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=jT7OnypQPQMm2h4Uhu4U3JVIEwBA0GpFzRjNjT+JWgI=; b=NwuDPDBCK6xMLC0FzEj2po8PKfP4hBQpi8A5M0UtdrQEJE84vBm99/K0IPy4CPPSD4 VbjSdO9ykeREcWcmZ/cqEMh5/KZ6uoMh3nXd6ZKhqHV4Z9deQMAZ8FIudgc+VGQ8Q4y5 M2igpsY7clBbVYgVUfV4V6u4f+fx1aBR6t2dbh3ABKMjC3+NzFIwZ4wE12okOenvZhH2 TQoJAv3XT0gl/CoeQaa/wwBSVujj/ha7eJpelsYUH9tncXQZlmK8cVxQvQTayZUpfFEi K1yXboNfp6pzcM2FR1h+3xeP3iGC/wTytID/W7Mw2As7W/Tpr4WN4pEcXr+JqEfWRFoc cOAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=jT7OnypQPQMm2h4Uhu4U3JVIEwBA0GpFzRjNjT+JWgI=; b=MSr0GD9eW0SACQ/KLPo7DBO6B+ij4/mMHADLQyBLnDwyO05y57vaFRJ6+kufVTYRC4 fYg1WPJ8OxZtgotO3/CpM06PE83yv0hLXrtLOUQyXntZk0r3x+RIEimXDPG0LZBaW1m2 qGcRWQlc+NlrqSTSyU0Engu62oDQnBpY1l3NGR9Y5V4tBVvEdLsMzkgsQx9aVtMEvjMN EnOFKRQkokO1tk2bBbjoRHiH7uhwbTSCPcQbBF0Vn/lrND+4g6rscmLYi5jQmjFZ05AP myvv4tYU69oDMIAgciwUISA3ZvZQ7+ssV6B4Wkngy/sW2jfg57MyYLO1A35D9YEdE29A Sw6w== X-Gm-Message-State: AIkVDXJlgpRyUAjwYuFfSTq9vSfGlP/oPlT59m/kNOUrLAnKGOayJmDe7WoyokXOqmj9nQ56uq8f88O2N8liow== X-Received: by 10.36.92.4 with SMTP id q4mr6191150itb.89.1486360163361; Sun, 05 Feb 2017 21:49:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.102.69 with HTTP; Sun, 5 Feb 2017 21:49:23 -0800 (PST) From: Jaeseok Park <jaeseok.park@HIDDEN> Date: Mon, 6 Feb 2017 14:49:23 +0900 Message-ID: <CABtWsD3DLy-xBwxxtfNXCO-xXcrb6O4Pb-o0nO3ONn4XoS8EBQ@HIDDEN> Content-Type: multipart/alternative; boundary=001a11445abe8bd1130547d63189 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Mailman-Approved-At: Mon, 06 Feb 2017 01:23:09 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.3 (----) --001a11445abe8bd1130547d63189 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi. I'm using coreutils on OSX. I have a USB storage which has the name "=EB=AC=B4=EC=A0=9C". It is Korean characters and it means "NO NAME". However, when I execute "df", it shows as below: /dev/disk3s1 7563232 2510624 5052608 34% /Volumes/=EF=BF=BD??=EF= =BF=BD?=EF=BF=BD=EF=BF=BD??=EF=BF=BD?=EF=BF=BD It seems not to support Unicode charaters. Could you please fix it? Thank you. Best Regards, Jaeseok --=20 -------------------------- *"Good People, Valuable Challenge, Better World"* Jaeseok Park | Daliworks Inc. Mobile : +82-10-5759-5853 Office : +82-02-2274-3254 ---------------------------- --001a11445abe8bd1130547d63189 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><span style=3D"font-size:14px">Hi.</span><div style=3D"fon= t-size:14px"><br></div><div style=3D"font-size:14px">I'm using coreutil= s on OSX.</div><div style=3D"font-size:14px">I have a USB storage which has= the name "=EB=AC=B4=EC=A0=9C".</div><div style=3D"font-size:14px= ">It is Korean characters and it means "NO NAME".</div><div style= =3D"font-size:14px"><br></div><div style=3D"font-size:14px">However, when I= execute "df", it shows as below:</div><div style=3D"font-size:14= px"><br></div><div style=3D"font-size:14px">/dev/disk3s1 =C2=A0 =C2=A0 7563= 232 =C2=A0 2510624 =C2=A0 5052608 =C2=A034% /Volumes/=EF=BF=BD??=EF=BF=BD?= =EF=BF=BD=EF=BF=BD??=EF=BF=BD?=EF=BF=BD</div><div style=3D"font-size:14px">= <br></div><div style=3D"font-size:14px">It seems not to support Unicode cha= raters.</div><div style=3D"font-size:14px"><br></div><div style=3D"font-siz= e:14px">Could you please fix it?</div><div style=3D"font-size:14px"><br></d= iv><div style=3D"font-size:14px">Thank you.</div><div style=3D"font-size:14= px"><br></div><div style=3D"font-size:14px">Best Regards,</div><div style= =3D"font-size:14px">Jaeseok</div><div><br></div>-- <br><div class=3D"gmail_= signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div style=3D"font-s= ize:12.8px">--------------------------</div><div style=3D"font-size:12.8px"= ><p style=3D"font-size:14px;color:rgb(80,0,80)"><img src=3D"http://www.dali= works.net/wp-content/uploads/2014/10/homepage-logo1.png"></p><p style=3D"fo= nt-size:14px;color:rgb(80,0,80)"><b>"<span style=3D"color:rgb(20,24,35= );font-family:helvetica,arial,sans-serif;line-height:19.32px">Good People, = Valuable Challenge, Better World</span>"</b><br></p><p style=3D"font-s= ize:14px;color:rgb(80,0,80)">Jaeseok Park | Daliworks Inc.<br></p><p style= =3D"font-size:14px;color:rgb(80,0,80)">Mobile : +82-10-5759-5853</p><p styl= e=3D"font-size:14px;color:rgb(80,0,80)">Office : +82-02-2274-3254</p><div>-= ---------------------------</div></div></div></div></div></div></div> </div> --001a11445abe8bd1130547d63189--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Jaeseok Park <jaeseok.park@HIDDEN> Subject: bug#25630: Acknowledgement ([bug/df] Unicode is not supported on mounted point when I execute "df" command) Message-ID: <handler.25630.B.14863621914123.ack <at> debbugs.gnu.org> References: <CABtWsD3DLy-xBwxxtfNXCO-xXcrb6O4Pb-o0nO3ONn4XoS8EBQ@HIDDEN> X-Gnu-PR-Message: ack 25630 X-Gnu-PR-Package: coreutils Reply-To: 25630 <at> debbugs.gnu.org Date: Mon, 06 Feb 2017 06:24:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-coreutils@HIDDEN If you wish to submit further information on this problem, please send it to 25630 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 25630: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25630 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#25630: [bug/df] Unicode is not supported on mounted point when I execute "df" command Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Tue, 07 Feb 2017 03:45:01 +0000 Resent-Message-ID: <handler.25630.B25630.148643909327329 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25630 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Jaeseok Park <jaeseok.park@HIDDEN>, 25630 <at> debbugs.gnu.org Received: via spool by 25630-submit <at> debbugs.gnu.org id=B25630.148643909327329 (code B ref 25630); Tue, 07 Feb 2017 03:45:01 +0000 Received: (at 25630) by debbugs.gnu.org; 7 Feb 2017 03:44:53 +0000 Received: from localhost ([127.0.0.1]:58204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cawi5-00076j-ET for submit <at> debbugs.gnu.org; Mon, 06 Feb 2017 22:44:53 -0500 Received: from midir.magicbluesmoke.com ([82.195.144.46]:33510 helo=mail.magicbluesmoke.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <P@HIDDEN>) id 1cawi3-00076Y-7H for 25630 <at> debbugs.gnu.org; Mon, 06 Feb 2017 22:44:51 -0500 Received: from [10.0.0.126] (c-73-170-254-78.hsd1.ca.comcast.net [73.170.254.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 088CD4B07; Tue, 7 Feb 2017 03:44:46 +0000 (GMT) References: <CABtWsD3DLy-xBwxxtfNXCO-xXcrb6O4Pb-o0nO3ONn4XoS8EBQ@HIDDEN> From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Message-ID: <f57c78b0-56a7-bb34-b38f-8ee418cbdc7d@HIDDEN> Date: Mon, 6 Feb 2017 19:44:44 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <CABtWsD3DLy-xBwxxtfNXCO-xXcrb6O4Pb-o0nO3ONn4XoS8EBQ@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) On 05/02/17 21:49, Jaeseok Park wrote: > Hi. > > I'm using coreutils on OSX. > I have a USB storage which has the name "무제". > It is Korean characters and it means "NO NAME". > > However, when I execute "df", it shows as below: > > /dev/disk3s1 7563232 2510624 5052608 34% /Volumes/�??�?��??�?� > > It seems not to support Unicode charaters. > > Could you please fix it? Yes our replacement function in df is simplistic, and doesn't deal with all encodings. See: http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=v8.17-51-g3ed70fd Now the fact that you have both types of replacement chars � (from mbsalign) and ? (from df), suggests there is some mismatch in encodings. What is the value of $LC_ALL and $LANG on your system? What encoding is the file on disk? I presume some variant of ISO-2022-KR, though I couldn't correlate that with the above output. The encoding of the file on disk should be indicated by: LC_ALL=C gls --quoting=shell-escape -1 /Volumes If it was possible to use UTF-8 representation of /Volumes/무제 then it would be displayed without issue. thanks, Pádraig
X-Loop: help-debbugs@HIDDEN Subject: bug#25630: [bug/df] Unicode is not supported on mounted point when I execute "df" command Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Tue, 07 Feb 2017 16:05:01 +0000 Resent-Message-ID: <handler.25630.B25630.148648347910826 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25630 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Jaeseok Park <jaeseok.park@HIDDEN> Cc: 25630 <at> debbugs.gnu.org Received: via spool by 25630-submit <at> debbugs.gnu.org id=B25630.148648347910826 (code B ref 25630); Tue, 07 Feb 2017 16:05:01 +0000 Received: (at 25630) by debbugs.gnu.org; 7 Feb 2017 16:04:39 +0000 Received: from localhost ([127.0.0.1]:59158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cb8Fy-0002oY-OS for submit <at> debbugs.gnu.org; Tue, 07 Feb 2017 11:04:38 -0500 Received: from midir.magicbluesmoke.com ([82.195.144.46]:34862 helo=mail.magicbluesmoke.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <P@HIDDEN>) id 1cb8Fx-0002oR-S9 for 25630 <at> debbugs.gnu.org; Tue, 07 Feb 2017 11:04:38 -0500 Received: from [10.0.0.126] (c-73-170-254-78.hsd1.ca.comcast.net [73.170.254.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 38FF04B07; Tue, 7 Feb 2017 16:04:36 +0000 (GMT) References: <CABtWsD3DLy-xBwxxtfNXCO-xXcrb6O4Pb-o0nO3ONn4XoS8EBQ@HIDDEN> <f57c78b0-56a7-bb34-b38f-8ee418cbdc7d@HIDDEN> <CABtWsD0V=VEJDZCGfujBqCCaQqbo8JMzadQfPCiFz=PjukqHxQ@HIDDEN> From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Message-ID: <067d76e2-8c58-c943-16b1-ae700109693b@HIDDEN> Date: Tue, 7 Feb 2017 08:04:33 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <CABtWsD0V=VEJDZCGfujBqCCaQqbo8JMzadQfPCiFz=PjukqHxQ@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) 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
X-Loop: help-debbugs@HIDDEN Subject: bug#25630: [bug/df] Unicode is not supported on mounted point when I execute "df" command Resent-From: Jaeseok Park <jaeseok.park@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Tue, 07 Feb 2017 16:32:01 +0000 Resent-Message-ID: <handler.25630.B25630.148648510213302 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25630 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Cc: 25630 <at> debbugs.gnu.org Received: via spool by 25630-submit <at> debbugs.gnu.org id=B25630.148648510213302 (code B ref 25630); Tue, 07 Feb 2017 16:32:01 +0000 Received: (at 25630) by debbugs.gnu.org; 7 Feb 2017 16:31:42 +0000 Received: from localhost ([127.0.0.1]:59183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cb8gA-0003SU-40 for submit <at> debbugs.gnu.org; Tue, 07 Feb 2017 11:31:42 -0500 Received: from mail-io0-f180.google.com ([209.85.223.180]:35517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jaeseok.park@HIDDEN>) id 1cb5Ye-0006tg-LU for 25630 <at> debbugs.gnu.org; Tue, 07 Feb 2017 08:11:45 -0500 Received: by mail-io0-f180.google.com with SMTP id j18so89222169ioe.2 for <25630 <at> debbugs.gnu.org>; Tue, 07 Feb 2017 05:11:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daliworks-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gSYxQXLUHc4mabBDJ1aRX6S0IjUVY2mrRZRfcCRN5Ic=; b=ENASBRdn3A6AN1m5swl1fPZaI9lADqrs94uVg1ixnbU/iowR38/zg22fdVhLxlD2Ug xU+90pPgqUHI4XBvz7MdCqu5Ao96BR1rZvaUe6BKiiZAbdsl3SLlIjLJPMhdRYLesGoB Uxv3vMNTofNioCYeXHop3u0PqjtHFTo+/Rd8pCorsb7aQB4xFd0fBBe/jmCzS3TeQAl2 5d/6x0eemUBSmN+vAMJEBKqWEz0UMD0VhGnw6dJE/TEUFc59UDt3G5tKpMZ12ud4Tb1e /7B8DxA9XcCOqeciirX2HMJfxKeQC+O6wVDExHd3r1kM2ndbEHVLzTdTgBurhA1QtNrg wlCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gSYxQXLUHc4mabBDJ1aRX6S0IjUVY2mrRZRfcCRN5Ic=; b=oBbLtmMPqyfoQWNDV3waHNQQ5MlepPH2Qduqnn07jdl+b6ymmIB6WqfKKkEe24y2L+ Huxfm4be3chSNU7YC1vyCG62CsZErulf2dTqdaza0Q14zbrgE0mxW/PaD+DAvNA81+sK RoCwLRTPZY/CMexH1O2Ce3TpK+oBrk893WkERoJEgFuoHkQQ0Au3ispIEKtFZncTU6TN ZWdYLeOuh7ULtBj1en0KsUIaV6rEInHS1RxYx9BaiDU5Uh5Eoc5r4Di32EJqY73o212P H/KhpLnp1DH4n+t/lGMp3/H9uofdL7PEF1z5UrF+EbSaUyEtEwGOVHpI/wOYEi7cHubp kdog== X-Gm-Message-State: AMke39m7KdyWN+ZEzmAYNr4oZFLvg0G+lxzxUFfJ9tnpYHW4Bc7capuTdxwECArH4nCCyC+ewNQxzOut9pyaRw== X-Received: by 10.107.140.193 with SMTP id o184mr3766073iod.17.1486473099090; Tue, 07 Feb 2017 05:11:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.102.69 with HTTP; Tue, 7 Feb 2017 05:11:38 -0800 (PST) In-Reply-To: <f57c78b0-56a7-bb34-b38f-8ee418cbdc7d@HIDDEN> References: <CABtWsD3DLy-xBwxxtfNXCO-xXcrb6O4Pb-o0nO3ONn4XoS8EBQ@HIDDEN> <f57c78b0-56a7-bb34-b38f-8ee418cbdc7d@HIDDEN> From: Jaeseok Park <jaeseok.park@HIDDEN> Date: Tue, 7 Feb 2017 22:11:38 +0900 Message-ID: <CABtWsD0V=VEJDZCGfujBqCCaQqbo8JMzadQfPCiFz=PjukqHxQ@HIDDEN> Content-Type: multipart/alternative; boundary=94eb2c0635b80a3e1c0547f07d44 X-Spam-Score: -1.4 (-) X-Mailman-Approved-At: Tue, 07 Feb 2017 11:31:40 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.4 (-) --94eb2c0635b80a3e1c0547f07d44 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dear P=C3=A1draig 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' If any test is needed, please tell me. Thank you. Best regards, Jaeseok 2017-02-07 12:44 GMT+09:00 P=C3=A1draig Brady <P@HIDDEN>: > On 05/02/17 21:49, Jaeseok Park wrote: > > Hi. > > > > I'm using coreutils on OSX. > > I have a USB storage which has the name "=EB=AC=B4=EC=A0=9C". > > It is Korean characters and it means "NO NAME". > > > > However, when I execute "df", it shows as below: > > > > /dev/disk3s1 7563232 2510624 5052608 34% /Volumes/=EF=BF=BD??= =EF=BF=BD?=EF=BF=BD=EF=BF=BD??=EF=BF=BD?=EF=BF=BD > > > > It seems not to support Unicode charaters. > > > > Could you please fix it? > > Yes our replacement function in df is simplistic, > and doesn't deal with all encodings. See: > http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=3Dv8.17-51-g3ed70fd > > Now the fact that you have both types of replacement chars > =EF=BF=BD (from mbsalign) and ? (from df), > suggests there is some mismatch in encodings. > > What is the value of $LC_ALL and $LANG on your system? > What encoding is the file on disk? I presume some variant of ISO-2022-KR, > though I couldn't correlate that with the above output. > The encoding of the file on disk should be indicated by: > LC_ALL=3DC gls --quoting=3Dshell-escape -1 /Volumes > > If it was possible to use UTF-8 representation of /Volumes/=EB=AC=B4=EC= =A0=9C > then it would be displayed without issue. > > thanks, > P=C3=A1draig > --=20 -------------------------- *"Good People, Valuable Challenge, Better World"* Jaeseok Park | Daliworks Inc. Mobile : +82-10-5759-5853 Office : +82-02-2274-3254 ---------------------------- --94eb2c0635b80a3e1c0547f07d44 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Dear P=C3=A1draig<br><div><br></div><div>Thank you for you= r reply.</div><div><br></div><div>1. Maybe its volume name seems to be enco= ded by UTF-8. I formatted my USB storage on OSX.</div><div><br></div><div>2= . My $LC_ALL is empty and $LANG is "ko_KR.UTF-8".</div><div><br><= /div><div>3. The result of gls is as below:</div><div><br></div><div><div>B= EAGLEBONE</div><div>boot.tar</div><div>ext</div><div>ssd</div><div>'= 9;$'\341\204\206\341\205\256\341\204\214\341\205\246'</div></div><d= iv><br></div><div>If any test is needed, please tell me.</div><div><br></di= v><div>Thank you.</div><div><br></div><div>Best regards,</div><div>Jaeseok<= /div><div><br></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quot= e">2017-02-07 12:44 GMT+09:00 P=C3=A1draig Brady <span dir=3D"ltr"><<a h= ref=3D"mailto:P@HIDDEN" target=3D"_blank">P@HIDDEN</a>><= /span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor= der-left:1px #ccc solid;padding-left:1ex">On 05/02/17 21:49, Jaeseok Park w= rote:<br> > Hi.<br> ><br> > I'm using coreutils on OSX.<br> > I have a USB storage which has the name "=EB=AC=B4=EC=A0=9C"= .<br> > It is Korean characters and it means "NO NAME".<br> ><br> > However, when I execute "df", it shows as below:<br> ><br> > /dev/disk3s1=C2=A0 =C2=A0 =C2=A07563232=C2=A0 =C2=A02510624=C2=A0 =C2= =A05052608=C2=A0 34% /Volumes/=EF=BF=BD??=EF=BF=BD?=EF=BF=BD=EF=BF=BD??=EF= =BF=BD?=EF=BF=BD<br> ><br> > It seems not to support Unicode charaters.<br> ><br> > Could you please fix it?<br> <br> Yes our replacement function in df is simplistic,<br> and doesn't deal with all encodings. See:<br> <a href=3D"http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=3Dv8.17-51-g= 3ed70fd" rel=3D"noreferrer" target=3D"_blank">http://git.sv.gnu.org/cgit/<w= br>coreutils.git/commit/?id=3Dv8.<wbr>17-51-g3ed70fd</a><br> <br> Now the fact that you have both types of replacement chars<br> =EF=BF=BD (from mbsalign) and ? (from df),<br> suggests there is some mismatch in encodings.<br> <br> What is the value of $LC_ALL and $LANG on your system?<br> What encoding is the file on disk? I presume some variant of ISO-2022-KR,<b= r> though I couldn't correlate that with the above output.<br> The encoding of the file on disk should be indicated by:<br> =C2=A0 LC_ALL=3DC gls --quoting=3Dshell-escape -1 /Volumes<br> <br> If it was possible to use UTF-8 representation of /Volumes/=EB=AC=B4=EC=A0= =9C<br> then it would be displayed without issue.<br> <br> thanks,<br> P=C3=A1draig<br> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class= =3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><d= iv><div dir=3D"ltr"><div><div style=3D"font-size:12.8px">------------------= --------</div><div style=3D"font-size:12.8px"><p style=3D"font-size:14px;co= lor:rgb(80,0,80)"><img src=3D"http://www.daliworks.net/wp-content/uploads/2= 014/10/homepage-logo1.png"></p><p style=3D"font-size:14px;color:rgb(80,0,80= )"><b>"<span style=3D"color:rgb(20,24,35);font-family:helvetica,arial,= sans-serif;line-height:19.32px">Good People, Valuable Challenge, Better Wor= ld</span>"</b><br></p><p style=3D"font-size:14px;color:rgb(80,0,80)">J= aeseok Park | Daliworks Inc.<br></p><p style=3D"font-size:14px;color:rgb(80= ,0,80)">Mobile : +82-10-5759-5853</p><p style=3D"font-size:14px;color:rgb(8= 0,0,80)">Office : +82-02-2274-3254</p><div>----------------------------</di= v></div></div></div></div></div></div> </div></div> --94eb2c0635b80a3e1c0547f07d44--
X-Loop: help-debbugs@HIDDEN Subject: bug#25630: [bug/df] Unicode is not supported on mounted point when I execute "df" command Resent-From: Jaeseok Park <jaeseok.park@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Wed, 08 Feb 2017 01:31:01 +0000 Resent-Message-ID: <handler.25630.B25630.14865174333339 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25630 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Cc: 25630 <at> debbugs.gnu.org Received: via spool by 25630-submit <at> debbugs.gnu.org id=B25630.14865174333339 (code B ref 25630); Wed, 08 Feb 2017 01:31:01 +0000 Received: (at 25630) by debbugs.gnu.org; 8 Feb 2017 01:30:33 +0000 Received: from localhost ([127.0.0.1]:59424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cbH5c-0000rn-Q0 for submit <at> debbugs.gnu.org; Tue, 07 Feb 2017 20:30:33 -0500 Received: from mail-io0-f173.google.com ([209.85.223.173]:34321) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jaeseok.park@HIDDEN>) id 1cbH5b-0000rb-97 for 25630 <at> debbugs.gnu.org; Tue, 07 Feb 2017 20:30:31 -0500 Received: by mail-io0-f173.google.com with SMTP id l66so105041202ioi.1 for <25630 <at> debbugs.gnu.org>; Tue, 07 Feb 2017 17:30:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daliworks-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FMEGTHvJ7WMo82zE1TJnc+8IOpiWSydbo9fmaUueYww=; b=N3IJeSZj0gVBX0sT/KM/y/HMJvLAsQ5V5mwzZbpgcP8+vLu3U4d3KRI8N0sRB8pbPw cHEbPN6NfqQ1VqclrdCE6ZPTuyy+r0N86ufaHCiJAT46P4Ld074wDc5rW8O9nsVSQhDR tKUq9hjyZED2DNVSMIpdsx7jU/Xr2Pbo6TMnBX3ASa+1ABfIJimyoGjNIFlW2z5zI+ay 8iG6K33oUborRVy+iNNVjeidO+0IPQ7Bph9c4aj2tC7k1imQBOwr595MjWNYAHyQpfj+ mz6ewT2rgflyiepnQEPQtq3LUu/O7EeFrHAAO+1+tM042v6Ya4RzPjJPiKEy9lDfUnq1 DULw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FMEGTHvJ7WMo82zE1TJnc+8IOpiWSydbo9fmaUueYww=; b=qMzN7/KJgBtSSMXVI59QoXOTl7Y/uL3kavGzgoCnG2p3IiODl7agZZFtLNpKuTjAhG 9HvXEgRvtKxPhy9dSRp5TzmgEkXyLsVZQQ/So2XNNh9TZEWjo1YB5oe6hR591IAeGQ6B wNtTf7YW9rGjUAbxzuMr2Mb6rV5K6y0tWkkoUKihWs3BeJJabJ4dlcEB++XUMMJA9hYm Od/BcF/8DmZuyyFqP88IrsPBeFqrraD1OWLegoL+y/HOVIPnHwQ91FZZ2soSDFMBuyK3 xZ1DVBOuuBMkAGEv/k6+xVkkaA6yqN8ilQChHyngrOWC8V9guT19lwqtc7JlND2UqKeW /zhA== X-Gm-Message-State: AMke39mSRNM1GPQizN7SmxZSypYmHiB61rUE/yE38K7LNc0dnAdXC8dDsGsjEhSTVpprEdTKoZ6Jll3gnHOITQ== X-Received: by 10.107.160.140 with SMTP id j134mr7695553ioe.180.1486517425619; Tue, 07 Feb 2017 17:30:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.102.69 with HTTP; Tue, 7 Feb 2017 17:30:25 -0800 (PST) In-Reply-To: <067d76e2-8c58-c943-16b1-ae700109693b@HIDDEN> References: <CABtWsD3DLy-xBwxxtfNXCO-xXcrb6O4Pb-o0nO3ONn4XoS8EBQ@HIDDEN> <f57c78b0-56a7-bb34-b38f-8ee418cbdc7d@HIDDEN> <CABtWsD0V=VEJDZCGfujBqCCaQqbo8JMzadQfPCiFz=PjukqHxQ@HIDDEN> <067d76e2-8c58-c943-16b1-ae700109693b@HIDDEN> From: Jaeseok Park <jaeseok.park@HIDDEN> Date: Wed, 8 Feb 2017 10:30:25 +0900 Message-ID: <CABtWsD3o85bqY0mzCnWJPQLYChfXeKVPL-RYP5p-J2iV33F2Ag@HIDDEN> Content-Type: multipart/alternative; boundary=001a11407f6e1b8da00547facfd9 X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.4 (-) --001a11407f6e1b8da00547facfd9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I tried to execute the commands as you guided me, however the result is the same. Mini:~$ LC_ALL=3Dko_KR df -h Filesystem Size Used Avail Use% Mounted on /dev/disk0s2 233G 176G 56G 76% / /dev/disk1s2 931G 686G 246G 74% /Volumes/ext /dev/disk2s1 39M 33M 6.4M 84% /Volumes/BEAGLEBONE /dev/disk3s1 15G 2.5M 15G 1% /Volumes/=EF=BF=BD??=EF=BF=BD?=EF=BF= =BD=EF=BF=BD??=EF=BF=BD?=EF=BF=BD Mini:~$ LC_ALL=3Dko_KR.UTF-8 df -h Filesystem Size Used Avail Use% Mounted on /dev/disk0s2 233G 176G 56G 76% / /dev/disk1s2 931G 686G 246G 74% /Volumes/ext /dev/disk2s1 39M 33M 6.4M 84% /Volumes/BEAGLEBONE /dev/disk3s1 15G 2.5M 15G 1% /Volumes/=EF=BF=BD??=EF=BF=BD?=EF=BF= =BD=EF=BF=BD??=EF=BF=BD?=EF=BF=BD Mini:~$ gls /Volumes/ BEAGLEBONE boot.tar ext ssd =EB=AC=B4=EC=A0=9C Did I do wrong something? Regards, Jaeseok 2017-02-08 1:04 GMT+09:00 P=C3=A1draig Brady <P@HIDDEN>: > On 07/02/17 05:11, Jaeseok Park wrote: > > Dear P=C3=A1draig > > > > 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=3Dko_KR df -h > Filesystem Size Used Avail Use% Mounted on > /dev/sda1 100M 120K 100M 1% /root/=EF=BF=BD??=EF=BF=BD?=EF=BF= =BD=EF=BF=BD??=EF=BF=BD?=EF=BF=BD > # LC_ALL=3Dko_KR.UTF-8 df -h > Filesystem Size Used Avail Use% Mounted on > /dev/sda1 100M 120K 100M 1% /root/=E1=84=86=E1=85=AE=E1=84=8C= =E1=85=A6 > > > 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=C3=A1draig > --=20 -------------------------- *"Good People, Valuable Challenge, Better World"* Jaeseok Park | Daliworks Inc. Mobile : +82-10-5759-5853 Office : +82-02-2274-3254 ---------------------------- --001a11407f6e1b8da00547facfd9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I tried to execute the commands as you guided me, however = the result is the same.<div><br></div><div><div>Mini:~$ LC_ALL=3Dko_KR df -= h</div><div>Filesystem =C2=A0 =C2=A0 =C2=A0Size =C2=A0Used Avail Use% Mount= ed on</div><div>/dev/disk0s2 =C2=A0 =C2=A0233G =C2=A0176G =C2=A0 56G =C2=A0= 76% /</div><div>/dev/disk1s2 =C2=A0 =C2=A0931G =C2=A0686G =C2=A0246G =C2=A0= 74% /Volumes/ext</div><div>/dev/disk2s1 =C2=A0 =C2=A0 39M =C2=A0 33M =C2=A0= 6.4M =C2=A084% /Volumes/BEAGLEBONE</div><div>/dev/disk3s1 =C2=A0 =C2=A0 15G= =C2=A02.5M =C2=A0 15G =C2=A0 1% /Volumes/=EF=BF=BD??=EF=BF=BD?=EF=BF=BD=EF= =BF=BD??=EF=BF=BD?=EF=BF=BD</div><div><br></div><div>Mini:~$ LC_ALL=3Dko_KR= .UTF-8 df -h</div><div>Filesystem =C2=A0 =C2=A0 =C2=A0Size =C2=A0Used Avail= Use% Mounted on</div><div>/dev/disk0s2 =C2=A0 =C2=A0233G =C2=A0176G =C2=A0= 56G =C2=A076% /</div><div>/dev/disk1s2 =C2=A0 =C2=A0931G =C2=A0686G =C2=A0= 246G =C2=A074% /Volumes/ext</div><div>/dev/disk2s1 =C2=A0 =C2=A0 39M =C2=A0= 33M =C2=A06.4M =C2=A084% /Volumes/BEAGLEBONE</div><div>/dev/disk3s1 =C2=A0= =C2=A0 15G =C2=A02.5M =C2=A0 15G =C2=A0 1% /Volumes/=EF=BF=BD??=EF=BF=BD?= =EF=BF=BD=EF=BF=BD??=EF=BF=BD?=EF=BF=BD</div><div><br></div><div>Mini:~$ gl= s /Volumes/</div><div>BEAGLEBONE =C2=A0boot.tar =C2=A0ext =C2=A0ssd<span cl= ass=3D"gmail-Apple-tab-span" style=3D"white-space:pre"> </span>=EB=AC=B4=EC= =A0=9C</div></div><div><br></div><div>Did I do wrong something?</div><div><= br></div><div>Regards,</div><div>Jaeseok</div><div><br></div></div><div cla= ss=3D"gmail_extra"><br><div class=3D"gmail_quote">2017-02-08 1:04 GMT+09:00= P=C3=A1draig Brady <span dir=3D"ltr"><<a href=3D"mailto:P@HIDDEN= m" target=3D"_blank">P@HIDDEN</a>></span>:<br><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex"><span class=3D"">On 07/02/17 05:11, Jaeseok Park wrote:<br> > Dear P=C3=A1draig<br> ><br> > Thank you for your reply.<br> ><br> > 1. Maybe its volume name seems to be encoded by UTF-8. I formatted my = USB storage on OSX.<br> ><br> > 2. My $LC_ALL is empty and $LANG is "ko_KR.UTF-8".<br> ><br> > 3. The result of gls is as below:<br> ><br> > BEAGLEBONE<br> > boot.tar<br> > ext<br> > ssd<br> > ''$'\341\204\206\341\205\256\<wbr>341\204\214\341\205\246&= #39;<br> <br> </span>Ah right that's the decomposed form.<br> HFS must use that for normalization of file names.<br> Using that I can reproduce your issue with an incorrect locale:<br> <br> # LC_ALL=3Dko_KR df -h<br> Filesystem=C2=A0 =C2=A0 =C2=A0 Size=C2=A0 Used Avail Use% Mounted on<br> /dev/sda1=C2=A0 =C2=A0 =C2=A0 =C2=A0100M=C2=A0 120K=C2=A0 100M=C2=A0 =C2=A0= 1% /root/=EF=BF=BD??=EF=BF=BD?=EF=BF=BD=EF=BF=BD??=EF=BF=BD?=EF=BF=BD<br> # LC_ALL=3Dko_KR.UTF-8 df -h<br> Filesystem=C2=A0 =C2=A0 =C2=A0 Size=C2=A0 Used Avail Use% Mounted on<br> /dev/sda1=C2=A0 =C2=A0 =C2=A0 =C2=A0100M=C2=A0 120K=C2=A0 100M=C2=A0 =C2=A0= 1% /root/=E1=84=86=E1=85=AE=E1=84=8C=E1=85=A6<br> <br> <br> I.E. It looks like you have the wrong locale settings for the df command.<b= r> Please try setting LC_ALL as above, or otherwise setting UTF-8.<br> <br> thanks,<br> P=C3=A1draig<br> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class= =3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><d= iv><div dir=3D"ltr"><div><div style=3D"font-size:12.8px">------------------= --------</div><div style=3D"font-size:12.8px"><p style=3D"font-size:14px;co= lor:rgb(80,0,80)"><img src=3D"http://www.daliworks.net/wp-content/uploads/2= 014/10/homepage-logo1.png"></p><p style=3D"font-size:14px;color:rgb(80,0,80= )"><b>"<span style=3D"color:rgb(20,24,35);font-family:helvetica,arial,= sans-serif;line-height:19.32px">Good People, Valuable Challenge, Better Wor= ld</span>"</b><br></p><p style=3D"font-size:14px;color:rgb(80,0,80)">J= aeseok Park | Daliworks Inc.<br></p><p style=3D"font-size:14px;color:rgb(80= ,0,80)">Mobile : +82-10-5759-5853</p><p style=3D"font-size:14px;color:rgb(8= 0,0,80)">Office : +82-02-2274-3254</p><div>----------------------------</di= v></div></div></div></div></div></div> </div> --001a11407f6e1b8da00547facfd9--
X-Loop: help-debbugs@HIDDEN Subject: bug#25630: [bug/df] Unicode is not supported on mounted point when I execute "df" command Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Wed, 08 Feb 2017 03:53:01 +0000 Resent-Message-ID: <handler.25630.B25630.148652595628787 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25630 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Jaeseok Park <jaeseok.park@HIDDEN> Cc: 25630 <at> debbugs.gnu.org Received: via spool by 25630-submit <at> debbugs.gnu.org id=B25630.148652595628787 (code B ref 25630); Wed, 08 Feb 2017 03:53:01 +0000 Received: (at 25630) by debbugs.gnu.org; 8 Feb 2017 03:52:36 +0000 Received: from localhost ([127.0.0.1]:59478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cbJJ5-0007UF-P4 for submit <at> debbugs.gnu.org; Tue, 07 Feb 2017 22:52:35 -0500 Received: from midir.magicbluesmoke.com ([82.195.144.46]:36598 helo=mail.magicbluesmoke.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <P@HIDDEN>) id 1cbJJ4-0007U5-7q for 25630 <at> debbugs.gnu.org; Tue, 07 Feb 2017 22:52:34 -0500 Received: from [10.0.0.126] (c-73-170-254-78.hsd1.ca.comcast.net [73.170.254.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 64DC122A; Wed, 8 Feb 2017 03:52:30 +0000 (GMT) References: <CABtWsD3DLy-xBwxxtfNXCO-xXcrb6O4Pb-o0nO3ONn4XoS8EBQ@HIDDEN> <f57c78b0-56a7-bb34-b38f-8ee418cbdc7d@HIDDEN> <CABtWsD0V=VEJDZCGfujBqCCaQqbo8JMzadQfPCiFz=PjukqHxQ@HIDDEN> <067d76e2-8c58-c943-16b1-ae700109693b@HIDDEN> <CABtWsD3o85bqY0mzCnWJPQLYChfXeKVPL-RYP5p-J2iV33F2Ag@HIDDEN> From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Message-ID: <b20d86cf-7ae2-4175-1dd2-57ed6a3dcbbf@HIDDEN> Date: Tue, 7 Feb 2017 19:52:28 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <CABtWsD3o85bqY0mzCnWJPQLYChfXeKVPL-RYP5p-J2iV33F2Ag@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) On 07/02/17 17:30, Jaeseok Park wrote: > 2017-02-08 1:04 GMT+09:00 Pádraig Brady <P@HIDDEN <mailto:P@HIDDEN>>: > > 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. > I tried to execute the commands as you guided me, however the result is the same. > > Mini:~$ LC_ALL=ko_KR df -h > Filesystem Size Used Avail Use% Mounted on > /dev/disk0s2 233G 176G 56G 76% / > /dev/disk1s2 931G 686G 246G 74% /Volumes/ext > /dev/disk2s1 39M 33M 6.4M 84% /Volumes/BEAGLEBONE > /dev/disk3s1 15G 2.5M 15G 1% /Volumes/�??�?��??�?� > > Mini:~$ LC_ALL=ko_KR.UTF-8 df -h > Filesystem Size Used Avail Use% Mounted on > /dev/disk0s2 233G 176G 56G 76% / > /dev/disk1s2 931G 686G 246G 74% /Volumes/ext > /dev/disk2s1 39M 33M 6.4M 84% /Volumes/BEAGLEBONE > /dev/disk3s1 15G 2.5M 15G 1% /Volumes/�??�?��??�?� > > Mini:~$ gls /Volumes/ > BEAGLEBONE boot.tar ext ssd무제 > > Did I do wrong something? > > Regards, > Jaeseok > > I don't have access to OSX to try out things, but I suspect ko_KR.UTF-8 may not be supported on your system? Can you try instead with LC_ALL=en_US.UTF-8 or LC_ALL=C, both of which display correctly on Fedora Linux here. Also what's the output from: LC_ALL=ko_KR.UTF-8 locale If that suggests ko_KR.UTF-8 is supported, then I'll need to get access to an OSX system to debug. Perhaps there is some shennanigans with the returned charset on OSX. thanks, Pádraig
X-Loop: help-debbugs@HIDDEN Subject: bug#25630: [bug/df] Unicode is not supported on mounted point when I execute "df" command Resent-From: Jaeseok Park <jaeseok.park@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Wed, 08 Feb 2017 06:02:02 +0000 Resent-Message-ID: <handler.25630.B25630.148653371422330 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25630 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Cc: 25630 <at> debbugs.gnu.org Received: via spool by 25630-submit <at> debbugs.gnu.org id=B25630.148653371422330 (code B ref 25630); Wed, 08 Feb 2017 06:02:02 +0000 Received: (at 25630) by debbugs.gnu.org; 8 Feb 2017 06:01:54 +0000 Received: from localhost ([127.0.0.1]:59577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cbLKD-0005o6-JE for submit <at> debbugs.gnu.org; Wed, 08 Feb 2017 01:01:53 -0500 Received: from mail-it0-f46.google.com ([209.85.214.46]:37453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jaeseok.park@HIDDEN>) id 1cbLK9-0005nq-GK for 25630 <at> debbugs.gnu.org; Wed, 08 Feb 2017 01:01:50 -0500 Received: by mail-it0-f46.google.com with SMTP id r185so96412004ita.0 for <25630 <at> debbugs.gnu.org>; Tue, 07 Feb 2017 22:01:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daliworks-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=M5GQ8BXaRVXSE/A5KnYDZZSRHAUk0dIJkNVHAab4UCM=; b=Zz+0Qfvz1sR5LLxciY2oGKG0hFCCfC0F16bh6FJGu6JjxIVrVu8mOJjC7Zc6JFKAgB a7tx+TBWPqXViMFgSuezxbwCzIu6Sj1X2ntYQYxCuLLUIxv5Xdvh7vCBBg0Iphgl2QUq i5+mz0e5Zsd4yjnxv6aRfWVTjQh5qfJ7COf6EjpuzuzP0IIrqztnO3pMSgCxcKr/sSar f3ndxHUJZNG4QHFV4o0N83MqEU64UJ3Ck8tqx43wlNa0FbJKWEvnyH15kKGt1o1RgqQk sFG1xRNmFouuOyXWjSIrr8jHybQa44p/DGLzj+ogOgeCkX6fHQ/rLNsiCUGbEBfR7N61 tbjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=M5GQ8BXaRVXSE/A5KnYDZZSRHAUk0dIJkNVHAab4UCM=; b=h8CAn68J7tTC2VG7mMGym5OKkxqJMq6iV2lzxqyoLoNPLL37WKR2pa00QAkoOn34mB kXjtMvRgPskWzbLbg053NWUF2amvVfXZ8UZMp9eYtKta04zS0QbPHWr89bda3jD0DUaN UTgB/RIX8GHjWpoaWibAV2BMFl7+UuEngEEzSpTmIqUKXvLWaABGJCnMiEEKtrZIvbXu DiBub73z86+v3yWMuPiFfs5QHR0JfHb+ud/5i27DNb24dkyu3hq2OJJdkaehrX7WT37E sNsV7+PP/ONl6ee2apMlng0woU+tyxPvcIY0xTECuV1obbHilkM8DeXlVP/ODufkh0IY qzgQ== X-Gm-Message-State: AIkVDXLQX2o+/CPDvW8M/vf/H25WdVgjep7O5fPERTiyQXlFf9kEQ3O+ySzdi5R5ttKynNJQhvPXZm4PVtYxjA== X-Received: by 10.36.103.142 with SMTP id u136mr15764718itc.89.1486533703549; Tue, 07 Feb 2017 22:01:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.102.69 with HTTP; Tue, 7 Feb 2017 22:01:43 -0800 (PST) In-Reply-To: <b20d86cf-7ae2-4175-1dd2-57ed6a3dcbbf@HIDDEN> References: <CABtWsD3DLy-xBwxxtfNXCO-xXcrb6O4Pb-o0nO3ONn4XoS8EBQ@HIDDEN> <f57c78b0-56a7-bb34-b38f-8ee418cbdc7d@HIDDEN> <CABtWsD0V=VEJDZCGfujBqCCaQqbo8JMzadQfPCiFz=PjukqHxQ@HIDDEN> <067d76e2-8c58-c943-16b1-ae700109693b@HIDDEN> <CABtWsD3o85bqY0mzCnWJPQLYChfXeKVPL-RYP5p-J2iV33F2Ag@HIDDEN> <b20d86cf-7ae2-4175-1dd2-57ed6a3dcbbf@HIDDEN> From: Jaeseok Park <jaeseok.park@HIDDEN> Date: Wed, 8 Feb 2017 15:01:43 +0900 Message-ID: <CABtWsD2__ihmC95=P5huZo2YNEBQ1H2J=J=NGR837xGFLqLtYQ@HIDDEN> Content-Type: multipart/alternative; boundary=001a114a91bc5905b90547fe99cf X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.2 (/) --001a114a91bc5905b90547fe99cf Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I think that df may support Korean characters because gls supports Korean characters without any modification of settings. The results of the commands you requested are as below: Mini:~$ LC_ALL=3Den_US.UTF-8 df -h Filesystem Size Used Avail Use% Mounted on /dev/disk0s2 233G 177G 55G 77% / /dev/disk1s2 931G 686G 245G 74% /Volumes/ext /dev/disk2s1 39M 33M 6.4M 84% /Volumes/BEAGLEBONE /dev/disk3s1 15G 2.5M 15G 1% /Volumes/=EF=BF=BD??=EF=BF=BD?=EF=BF= =BD=EF=BF=BD??=EF=BF=BD?=EF=BF=BD Mini:~$ LC_ALL=3DC df -h Filesystem Size Used Avail Use% Mounted on /dev/disk0s2 233G 177G 55G 77% / /dev/disk1s2 931G 686G 245G 74% /Volumes/ext /dev/disk2s1 39M 33M 6.4M 84% /Volumes/BEAGLEBONE /dev/disk3s1 15G 2.5M 15G 1% /Volumes/=EB=AC=B4=EC=A0=9C Mini:~$ LC_ALL=3Dko_KR.UTF-8 locale LANG=3D"ko_KR.UTF-8" LC_COLLATE=3D"ko_KR.UTF-8" LC_CTYPE=3D"ko_KR.UTF-8" LC_MESSAGES=3D"ko_KR.UTF-8" LC_MONETARY=3D"ko_KR.UTF-8" LC_NUMERIC=3D"ko_KR.UTF-8" LC_TIME=3D"ko_KR.UTF-8" LC_ALL=3D"ko_KR.UTF-8" LC_ALL=3DC makes it work well. By the way, why does gls work well without LC_ALL setting? Regards, Jaeseok 2017-02-08 12:52 GMT+09:00 P=C3=A1draig Brady <P@HIDDEN>: > On 07/02/17 17:30, Jaeseok Park wrote: > > 2017-02-08 1:04 GMT+09:00 P=C3=A1draig Brady <P@HIDDEN <mailto: > P@HIDDEN>>: > > > > On 07/02/17 05:11, Jaeseok Park wrote: > > > Dear P=C3=A1draig > > > > > > Thank you for your reply. > > > > > > 1. Maybe its volume name seems to be encoded by UTF-8. I formatte= d > 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=3Dko_KR df -h > > Filesystem Size Used Avail Use% Mounted on > > /dev/sda1 100M 120K 100M 1% /root/=EF=BF=BD??=EF=BF=BD?= =EF=BF=BD=EF=BF=BD??=EF=BF=BD?=EF=BF=BD > > # LC_ALL=3Dko_KR.UTF-8 df -h > > Filesystem Size Used Avail Use% Mounted on > > /dev/sda1 100M 120K 100M 1% /root/=E1=84=86=E1=85=AE=E1= =84=8C=E1=85=A6 > > > > > > 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. > > > I tried to execute the commands as you guided me, however the result is > the same. > > > > Mini:~$ LC_ALL=3Dko_KR df -h > > Filesystem Size Used Avail Use% Mounted on > > /dev/disk0s2 233G 176G 56G 76% / > > /dev/disk1s2 931G 686G 246G 74% /Volumes/ext > > /dev/disk2s1 39M 33M 6.4M 84% /Volumes/BEAGLEBONE > > /dev/disk3s1 15G 2.5M 15G 1% /Volumes/=EF=BF=BD??=EF=BF=BD?=EF= =BF=BD=EF=BF=BD??=EF=BF=BD?=EF=BF=BD > > > > Mini:~$ LC_ALL=3Dko_KR.UTF-8 df -h > > Filesystem Size Used Avail Use% Mounted on > > /dev/disk0s2 233G 176G 56G 76% / > > /dev/disk1s2 931G 686G 246G 74% /Volumes/ext > > /dev/disk2s1 39M 33M 6.4M 84% /Volumes/BEAGLEBONE > > /dev/disk3s1 15G 2.5M 15G 1% /Volumes/=EF=BF=BD??=EF=BF=BD?=EF= =BF=BD=EF=BF=BD??=EF=BF=BD?=EF=BF=BD > > > > Mini:~$ gls /Volumes/ > > BEAGLEBONE boot.tar ext ssd=EB=AC=B4=EC=A0=9C > > > > Did I do wrong something? > > > > Regards, > > Jaeseok > > > > > > I don't have access to OSX to try out things, > but I suspect ko_KR.UTF-8 may not be supported on your system? > Can you try instead with LC_ALL=3Den_US.UTF-8 or LC_ALL=3DC, > both of which display correctly on Fedora Linux here. > > Also what's the output from: > > LC_ALL=3Dko_KR.UTF-8 locale > > If that suggests ko_KR.UTF-8 is supported, > then I'll need to get access to an OSX system to debug. > Perhaps there is some shennanigans with the returned charset on OSX. > > thanks, > P=C3=A1draig > --=20 -------------------------- *"Good People, Valuable Challenge, Better World"* Jaeseok Park | Daliworks Inc. Mobile : +82-10-5759-5853 Office : +82-02-2274-3254 ---------------------------- --001a114a91bc5905b90547fe99cf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I think that df may support Korean characters because gls = supports Korean characters without any modification of settings.<div><br></= div><div>The results of the commands you requested are as below:</div><div>= <br></div><div><div>Mini:~$ LC_ALL=3Den_US.UTF-8 df -h</div><div>Filesystem= =C2=A0 =C2=A0 =C2=A0Size =C2=A0Used Avail Use% Mounted on</div><div>/dev/d= isk0s2 =C2=A0 =C2=A0233G =C2=A0177G =C2=A0 55G =C2=A077% /</div><div>/dev/d= isk1s2 =C2=A0 =C2=A0931G =C2=A0686G =C2=A0245G =C2=A074% /Volumes/ext</div>= <div>/dev/disk2s1 =C2=A0 =C2=A0 39M =C2=A0 33M =C2=A06.4M =C2=A084% /Volume= s/BEAGLEBONE</div><div>/dev/disk3s1 =C2=A0 =C2=A0 15G =C2=A02.5M =C2=A0 15G= =C2=A0 1% /Volumes/=EF=BF=BD??=EF=BF=BD?=EF=BF=BD=EF=BF=BD??=EF=BF=BD?=EF= =BF=BD</div><div><br></div><div>Mini:~$ LC_ALL=3DC df -h</div><div>Filesyst= em =C2=A0 =C2=A0 =C2=A0Size =C2=A0Used Avail Use% Mounted on</div><div>/dev= /disk0s2 =C2=A0 =C2=A0233G =C2=A0177G =C2=A0 55G =C2=A077% /</div><div>/dev= /disk1s2 =C2=A0 =C2=A0931G =C2=A0686G =C2=A0245G =C2=A074% /Volumes/ext</di= v><div>/dev/disk2s1 =C2=A0 =C2=A0 39M =C2=A0 33M =C2=A06.4M =C2=A084% /Volu= mes/BEAGLEBONE</div><div>/dev/disk3s1 =C2=A0 =C2=A0 15G =C2=A02.5M =C2=A0 1= 5G =C2=A0 1% /Volumes/=EB=AC=B4=EC=A0=9C</div><div><br></div><div>Mini:~$ L= C_ALL=3Dko_KR.UTF-8 locale</div><div>LANG=3D"ko_KR.UTF-8"</div><d= iv>LC_COLLATE=3D"ko_KR.UTF-8"</div><div>LC_CTYPE=3D"ko_KR.UT= F-8"</div><div>LC_MESSAGES=3D"ko_KR.UTF-8"</div><div>LC_MONE= TARY=3D"ko_KR.UTF-8"</div><div>LC_NUMERIC=3D"ko_KR.UTF-8&quo= t;</div><div>LC_TIME=3D"ko_KR.UTF-8"</div><div>LC_ALL=3D"ko_= KR.UTF-8"</div></div><div><br></div><div>LC_ALL=3DC makes it work well= .</div><div>By the way, why does gls work well without LC_ALL setting?<br><= /div><div><br></div><div>Regards,</div><div>Jaeseok</div><div><br></div></d= iv><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">2017-02-08 12:= 52 GMT+09:00 P=C3=A1draig Brady <span dir=3D"ltr"><<a href=3D"mailto:P@d= raigbrady.com" target=3D"_blank">P@HIDDEN</a>></span>:<br><block= quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc= solid;padding-left:1ex">On 07/02/17 17:30, Jaeseok Park wrote:<br> > 2017-02-08 1:04 GMT+09:00 P=C3=A1draig Brady <<a href=3D"mailto:P@d= raigbrady.com">P@HIDDEN</a> <mailto:<a href=3D"mailto:P@draigbra= dy.com">P@HIDDEN</a>>>:<br> <span class=3D"">><br> >=C2=A0 =C2=A0 =C2=A0On 07/02/17 05:11, Jaeseok Park wrote:<br> >=C2=A0 =C2=A0 =C2=A0> Dear P=C3=A1draig<br> >=C2=A0 =C2=A0 =C2=A0><br> >=C2=A0 =C2=A0 =C2=A0> Thank you for your reply.<br> >=C2=A0 =C2=A0 =C2=A0><br> >=C2=A0 =C2=A0 =C2=A0> 1. Maybe its volume name seems to be encoded b= y UTF-8. I formatted my USB storage on OSX.<br> >=C2=A0 =C2=A0 =C2=A0><br> >=C2=A0 =C2=A0 =C2=A0> 2. My $LC_ALL is empty and $LANG is "ko_K= R.UTF-8".<br> >=C2=A0 =C2=A0 =C2=A0><br> >=C2=A0 =C2=A0 =C2=A0> 3. The result of gls is as below:<br> >=C2=A0 =C2=A0 =C2=A0><br> >=C2=A0 =C2=A0 =C2=A0> BEAGLEBONE<br> >=C2=A0 =C2=A0 =C2=A0> boot.tar<br> >=C2=A0 =C2=A0 =C2=A0> ext<br> >=C2=A0 =C2=A0 =C2=A0> ssd<br> >=C2=A0 =C2=A0 =C2=A0> ''$'\341\204\206\341\205\256\<wbr>= 341\204\214\341\205\246'<br> ><br> >=C2=A0 =C2=A0 =C2=A0Ah right that's the decomposed form.<br> >=C2=A0 =C2=A0 =C2=A0HFS must use that for normalization of file names.<= br> >=C2=A0 =C2=A0 =C2=A0Using that I can reproduce your issue with an incor= rect locale:<br> ><br> >=C2=A0 =C2=A0 =C2=A0# LC_ALL=3Dko_KR df -h<br> >=C2=A0 =C2=A0 =C2=A0Filesystem=C2=A0 =C2=A0 =C2=A0 Size=C2=A0 Used Avai= l Use% Mounted on<br> >=C2=A0 =C2=A0 =C2=A0/dev/sda1=C2=A0 =C2=A0 =C2=A0 =C2=A0100M=C2=A0 120K= =C2=A0 100M=C2=A0 =C2=A01% /root/=EF=BF=BD??=EF=BF=BD?=EF=BF=BD=EF=BF=BD??= =EF=BF=BD?=EF=BF=BD<br> >=C2=A0 =C2=A0 =C2=A0# LC_ALL=3Dko_KR.UTF-8 df -h<br> >=C2=A0 =C2=A0 =C2=A0Filesystem=C2=A0 =C2=A0 =C2=A0 Size=C2=A0 Used Avai= l Use% Mounted on<br> >=C2=A0 =C2=A0 =C2=A0/dev/sda1=C2=A0 =C2=A0 =C2=A0 =C2=A0100M=C2=A0 120K= =C2=A0 100M=C2=A0 =C2=A01% /root/=E1=84=86=E1=85=AE=E1=84=8C=E1=85=A6<br> ><br> ><br> >=C2=A0 =C2=A0 =C2=A0I.E. It looks like you have the wrong locale settin= gs for the df command.<br> >=C2=A0 =C2=A0 =C2=A0Please try setting LC_ALL as above, or otherwise se= tting UTF-8.<br> <br> </span><span class=3D"">> I tried to execute the commands as you guided = me, however the result is the same.<br> ><br> > Mini:~$ LC_ALL=3Dko_KR df -h<br> > Filesystem=C2=A0 =C2=A0 =C2=A0 Size=C2=A0 Used Avail Use% Mounted on<b= r> > /dev/disk0s2=C2=A0 =C2=A0 233G=C2=A0 176G=C2=A0 =C2=A056G=C2=A0 76% /<= br> > /dev/disk1s2=C2=A0 =C2=A0 931G=C2=A0 686G=C2=A0 246G=C2=A0 74% /Volume= s/ext<br> > /dev/disk2s1=C2=A0 =C2=A0 =C2=A039M=C2=A0 =C2=A033M=C2=A0 6.4M=C2=A0 8= 4% /Volumes/BEAGLEBONE<br> > /dev/disk3s1=C2=A0 =C2=A0 =C2=A015G=C2=A0 2.5M=C2=A0 =C2=A015G=C2=A0 = =C2=A01% /Volumes/=EF=BF=BD??=EF=BF=BD?=EF=BF=BD=EF=BF=BD??=EF=BF=BD?=EF=BF= =BD<br> ><br> > Mini:~$ LC_ALL=3Dko_KR.UTF-8 df -h<br> > Filesystem=C2=A0 =C2=A0 =C2=A0 Size=C2=A0 Used Avail Use% Mounted on<b= r> > /dev/disk0s2=C2=A0 =C2=A0 233G=C2=A0 176G=C2=A0 =C2=A056G=C2=A0 76% /<= br> > /dev/disk1s2=C2=A0 =C2=A0 931G=C2=A0 686G=C2=A0 246G=C2=A0 74% /Volume= s/ext<br> > /dev/disk2s1=C2=A0 =C2=A0 =C2=A039M=C2=A0 =C2=A033M=C2=A0 6.4M=C2=A0 8= 4% /Volumes/BEAGLEBONE<br> > /dev/disk3s1=C2=A0 =C2=A0 =C2=A015G=C2=A0 2.5M=C2=A0 =C2=A015G=C2=A0 = =C2=A01% /Volumes/=EF=BF=BD??=EF=BF=BD?=EF=BF=BD=EF=BF=BD??=EF=BF=BD?=EF=BF= =BD<br> ><br> > Mini:~$ gls /Volumes/<br> > BEAGLEBONE=C2=A0 boot.tar=C2=A0 ext=C2=A0 ssd=EB=AC=B4=EC=A0=9C<br> ><br> > Did I do wrong something?<br> ><br> > Regards,<br> > Jaeseok<br> ><br> ><br> <br> </span>I don't have access to OSX to try out things,<br> but I suspect ko_KR.UTF-8 may not be supported on your system?<br> Can you try instead with LC_ALL=3Den_US.UTF-8 or LC_ALL=3DC,<br> both of which display correctly on Fedora Linux here.<br> <br> Also what's the output from:<br> <br> =C2=A0 LC_ALL=3Dko_KR.UTF-8 locale<br> <br> If that suggests ko_KR.UTF-8 is supported,<br> then I'll need to get access to an OSX system to debug.<br> Perhaps there is some shennanigans with the returned charset on OSX.<br> <br> thanks,<br> P=C3=A1draig<br> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class= =3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><d= iv><div dir=3D"ltr"><div><div style=3D"font-size:12.8px">------------------= --------</div><div style=3D"font-size:12.8px"><p style=3D"font-size:14px;co= lor:rgb(80,0,80)"><img src=3D"http://www.daliworks.net/wp-content/uploads/2= 014/10/homepage-logo1.png"></p><p style=3D"font-size:14px;color:rgb(80,0,80= )"><b>"<span style=3D"color:rgb(20,24,35);font-family:helvetica,arial,= sans-serif;line-height:19.32px">Good People, Valuable Challenge, Better Wor= ld</span>"</b><br></p><p style=3D"font-size:14px;color:rgb(80,0,80)">J= aeseok Park | Daliworks Inc.<br></p><p style=3D"font-size:14px;color:rgb(80= ,0,80)">Mobile : +82-10-5759-5853</p><p style=3D"font-size:14px;color:rgb(8= 0,0,80)">Office : +82-02-2274-3254</p><div>----------------------------</di= v></div></div></div></div></div></div> </div> --001a114a91bc5905b90547fe99cf--
X-Loop: help-debbugs@HIDDEN Subject: bug#25630: [bug/df] Unicode is not supported on mounted point when I execute "df" command Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Wed, 08 Feb 2017 18:08:02 +0000 Resent-Message-ID: <handler.25630.B25630.148657723710663 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25630 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Jaeseok Park <jaeseok.park@HIDDEN> Cc: 25630 <at> debbugs.gnu.org Received: via spool by 25630-submit <at> debbugs.gnu.org id=B25630.148657723710663 (code B ref 25630); Wed, 08 Feb 2017 18:08:02 +0000 Received: (at 25630) by debbugs.gnu.org; 8 Feb 2017 18:07:17 +0000 Received: from localhost ([127.0.0.1]:60487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cbWeD-0002lu-Gl for submit <at> debbugs.gnu.org; Wed, 08 Feb 2017 13:07:17 -0500 Received: from midir.magicbluesmoke.com ([82.195.144.46]:39014 helo=mail.magicbluesmoke.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <P@HIDDEN>) id 1cbWeB-0002ll-7h for 25630 <at> debbugs.gnu.org; Wed, 08 Feb 2017 13:07:15 -0500 Received: from [10.0.0.126] (c-73-170-254-78.hsd1.ca.comcast.net [73.170.254.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 6401B4A59; Wed, 8 Feb 2017 18:07:13 +0000 (GMT) References: <CABtWsD3DLy-xBwxxtfNXCO-xXcrb6O4Pb-o0nO3ONn4XoS8EBQ@HIDDEN> <f57c78b0-56a7-bb34-b38f-8ee418cbdc7d@HIDDEN> <CABtWsD0V=VEJDZCGfujBqCCaQqbo8JMzadQfPCiFz=PjukqHxQ@HIDDEN> <067d76e2-8c58-c943-16b1-ae700109693b@HIDDEN> <CABtWsD3o85bqY0mzCnWJPQLYChfXeKVPL-RYP5p-J2iV33F2Ag@HIDDEN> <b20d86cf-7ae2-4175-1dd2-57ed6a3dcbbf@HIDDEN> <CABtWsD2__ihmC95=P5huZo2YNEBQ1H2J=J=NGR837xGFLqLtYQ@HIDDEN> From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Message-ID: <6ae273a2-07f7-a769-5902-5ae31f2c482c@HIDDEN> Date: Wed, 8 Feb 2017 10:07:11 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <CABtWsD2__ihmC95=P5huZo2YNEBQ1H2J=J=NGR837xGFLqLtYQ@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) On 07/02/17 22:01, Jaeseok Park wrote: > I think that df may support Korean characters because gls supports Korean > characters without any modification of settings. > > The results of the commands you requested are as below: > > Mini:~$ LC_ALL=en_US.UTF-8 df -h > Filesystem Size Used Avail Use% Mounted on > /dev/disk0s2 233G 177G 55G 77% / > /dev/disk1s2 931G 686G 245G 74% /Volumes/ext > /dev/disk2s1 39M 33M 6.4M 84% /Volumes/BEAGLEBONE > /dev/disk3s1 15G 2.5M 15G 1% /Volumes/�??�?��??�?� > > Mini:~$ LC_ALL=C df -h > Filesystem Size Used Avail Use% Mounted on > /dev/disk0s2 233G 177G 55G 77% / > /dev/disk1s2 931G 686G 245G 74% /Volumes/ext > /dev/disk2s1 39M 33M 6.4M 84% /Volumes/BEAGLEBONE > /dev/disk3s1 15G 2.5M 15G 1% /Volumes/무제 > > Mini:~$ LC_ALL=ko_KR.UTF-8 locale > LANG="ko_KR.UTF-8" > LC_COLLATE="ko_KR.UTF-8" > LC_CTYPE="ko_KR.UTF-8" > LC_MESSAGES="ko_KR.UTF-8" > LC_MONETARY="ko_KR.UTF-8" > LC_NUMERIC="ko_KR.UTF-8" > LC_TIME="ko_KR.UTF-8" > LC_ALL="ko_KR.UTF-8" > > LC_ALL=C makes it work well. > By the way, why does gls work well without LC_ALL setting? Right. LC_ALL=C will avoid the multibyte processing. Now ls and df have similar multibyte processing, with ls using mbrtowc() and df using mbstowcs(). Perhaps there is some issue with our use of the later on OSX, with decomposed form? I'll try to get access. What version of OSX is this? thanks, Pádraig
X-Loop: help-debbugs@HIDDEN Subject: bug#25630: [bug/df] Unicode is not supported on mounted point when I execute "df" command Resent-From: Jaeseok Park <jaeseok.park@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Thu, 09 Feb 2017 01:27:01 +0000 Resent-Message-ID: <handler.25630.B25630.148660359723324 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25630 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Cc: 25630 <at> debbugs.gnu.org Received: via spool by 25630-submit <at> debbugs.gnu.org id=B25630.148660359723324 (code B ref 25630); Thu, 09 Feb 2017 01:27:01 +0000 Received: (at 25630) by debbugs.gnu.org; 9 Feb 2017 01:26:37 +0000 Received: from localhost ([127.0.0.1]:60666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cbdVM-000648-LE for submit <at> debbugs.gnu.org; Wed, 08 Feb 2017 20:26:36 -0500 Received: from mail-io0-f169.google.com ([209.85.223.169]:34135) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jaeseok.park@HIDDEN>) id 1cbdVK-00063u-U0 for 25630 <at> debbugs.gnu.org; Wed, 08 Feb 2017 20:26:35 -0500 Received: by mail-io0-f169.google.com with SMTP id l66so5645960ioi.1 for <25630 <at> debbugs.gnu.org>; Wed, 08 Feb 2017 17:26:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daliworks-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=P6zUvf0wJMLP/iCEwihe6j4GMGJiE16yzdwFcNlfLD0=; b=KLysCLKOLRVIRA51DwQIHZGfQWlcwjzWSqxtVvQEYGnL/wJKB2F5311BoIF1QOrcu0 j7ZO5zVDHC9Lv2Pa3qBO9+/cDrnvOe77zzWHSaoqb7DErmHTkUMoxx+n/tR5wTmStKBN evMh3r4wEFhxncGQs8SAZT7fprWClQsTKa0ztuIrNskDvd0sTTFWpP933rdO32Eo3/8f DMtzsmtODKhBouXpAVZY9r8ewJFYZzNMrbUdi2Xq3rPFO8qjWzGVMKfI/Evkb2zg/H72 WyZTVdNZsWIRjkQPQ3PfHAWUHeD0adgttjpg5J/pyATsy9SUZ4QrTMtIvpc7nBZ8dVmE /v7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=P6zUvf0wJMLP/iCEwihe6j4GMGJiE16yzdwFcNlfLD0=; b=rOOeADdkLzEDknuqF+5UDnUAd8NBAqg5O9+bOq9SmIbeOxkJTKPqm0DZNUWguwsz3K Xb/6hj/kpDQjx2EyASPbtMT38NwQDQWiCKl8sy9SBfAru5zLmq1XyCSudSaCCByLIFwE mYB/EZx8oVXGZREg0u0HBlXRiNTfAcZIrOL+75Kj2eKMZkLHJV3hHeESWfkPZaOBu+YZ oA0q9f1SeGy0l1HnWI6PMraPtnVq2IIoxnQZvpNpyfoNhIGRgSOSWxDWGNf1AR3NfcEu DcBeO3NrQTwWVIPSx8v2jewvo/vD6VqJ6s3fCnAzM/Ynlab6TCZ+7QELlJtEgTEK1CjL AU/Q== X-Gm-Message-State: AMke39mFz7h2z/O0ac63RlMCVuZkSjDzVSFD7WHtEFidpus1cCVcczjHIDCYR17Y1pS6U68BDTxPBz2pYjOAiQ== X-Received: by 10.107.166.18 with SMTP id p18mr1080977ioe.15.1486603589298; Wed, 08 Feb 2017 17:26:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.102.69 with HTTP; Wed, 8 Feb 2017 17:26:28 -0800 (PST) In-Reply-To: <6ae273a2-07f7-a769-5902-5ae31f2c482c@HIDDEN> References: <CABtWsD3DLy-xBwxxtfNXCO-xXcrb6O4Pb-o0nO3ONn4XoS8EBQ@HIDDEN> <f57c78b0-56a7-bb34-b38f-8ee418cbdc7d@HIDDEN> <CABtWsD0V=VEJDZCGfujBqCCaQqbo8JMzadQfPCiFz=PjukqHxQ@HIDDEN> <067d76e2-8c58-c943-16b1-ae700109693b@HIDDEN> <CABtWsD3o85bqY0mzCnWJPQLYChfXeKVPL-RYP5p-J2iV33F2Ag@HIDDEN> <b20d86cf-7ae2-4175-1dd2-57ed6a3dcbbf@HIDDEN> <CABtWsD2__ihmC95=P5huZo2YNEBQ1H2J=J=NGR837xGFLqLtYQ@HIDDEN> <6ae273a2-07f7-a769-5902-5ae31f2c482c@HIDDEN> From: Jaeseok Park <jaeseok.park@HIDDEN> Date: Thu, 9 Feb 2017 10:26:28 +0900 Message-ID: <CABtWsD1KRfahEbk2nsjL8kifLhd0o6YKaP7XOiHwHaSDMTOu=w@HIDDEN> Content-Type: multipart/alternative; boundary=001a11414e8adcecfb05480ede5f X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.1 (--) --001a11414e8adcecfb05480ede5f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It is OS X El Capitan, version 10.11.6. Thank you. Best regards, Jaeseok 2017-02-09 3:07 GMT+09:00 P=C3=A1draig Brady <P@HIDDEN>: > On 07/02/17 22:01, Jaeseok Park wrote: > > I think that df may support Korean characters because gls supports Kore= an > > characters without any modification of settings. > > > > The results of the commands you requested are as below: > > > > Mini:~$ LC_ALL=3Den_US.UTF-8 df -h > > Filesystem Size Used Avail Use% Mounted on > > /dev/disk0s2 233G 177G 55G 77% / > > /dev/disk1s2 931G 686G 245G 74% /Volumes/ext > > /dev/disk2s1 39M 33M 6.4M 84% /Volumes/BEAGLEBONE > > /dev/disk3s1 15G 2.5M 15G 1% /Volumes/=EF=BF=BD??=EF=BF=BD?=EF= =BF=BD=EF=BF=BD??=EF=BF=BD?=EF=BF=BD > > > > Mini:~$ LC_ALL=3DC df -h > > Filesystem Size Used Avail Use% Mounted on > > /dev/disk0s2 233G 177G 55G 77% / > > /dev/disk1s2 931G 686G 245G 74% /Volumes/ext > > /dev/disk2s1 39M 33M 6.4M 84% /Volumes/BEAGLEBONE > > /dev/disk3s1 15G 2.5M 15G 1% /Volumes/=EB=AC=B4=EC=A0=9C > > > > Mini:~$ LC_ALL=3Dko_KR.UTF-8 locale > > LANG=3D"ko_KR.UTF-8" > > LC_COLLATE=3D"ko_KR.UTF-8" > > LC_CTYPE=3D"ko_KR.UTF-8" > > LC_MESSAGES=3D"ko_KR.UTF-8" > > LC_MONETARY=3D"ko_KR.UTF-8" > > LC_NUMERIC=3D"ko_KR.UTF-8" > > LC_TIME=3D"ko_KR.UTF-8" > > LC_ALL=3D"ko_KR.UTF-8" > > > > LC_ALL=3DC makes it work well. > > By the way, why does gls work well without LC_ALL setting? > > Right. LC_ALL=3DC will avoid the multibyte processing. > Now ls and df have similar multibyte processing, > with ls using mbrtowc() and df using mbstowcs(). > Perhaps there is some issue with our use of the later on OSX, > with decomposed form? > I'll try to get access. What version of OSX is this? > > thanks, > P=C3=A1draig > --=20 -------------------------- *"Good People, Valuable Challenge, Better World"* Jaeseok Park | Daliworks Inc. Mobile : +82-10-5759-5853 Office : +82-02-2274-3254 ---------------------------- --001a11414e8adcecfb05480ede5f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">It is OS X El Capitan, version 10.11.6.<div><br></div><div= >Thank =C2=A0you.</div><div><br></div><div>Best regards,</div><div>Jaeseok<= /div><div><br></div></div><div class=3D"gmail_extra"><br><div class=3D"gmai= l_quote">2017-02-09 3:07 GMT+09:00 P=C3=A1draig Brady <span dir=3D"ltr"><= ;<a href=3D"mailto:P@HIDDEN" target=3D"_blank">P@HIDDEN</a>= ></span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e= x;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"HOEnZb"><div c= lass=3D"h5">On 07/02/17 22:01, Jaeseok Park wrote:<br> > I think that df may support Korean characters because gls supports Kor= ean<br> > characters without any modification of settings.<br> ><br> > The results of the commands you requested are as below:<br> ><br> > Mini:~$ LC_ALL=3Den_US.UTF-8 df -h<br> > Filesystem=C2=A0 =C2=A0 =C2=A0 Size=C2=A0 Used Avail Use% Mounted on<b= r> > /dev/disk0s2=C2=A0 =C2=A0 233G=C2=A0 177G=C2=A0 =C2=A055G=C2=A0 77% /<= br> > /dev/disk1s2=C2=A0 =C2=A0 931G=C2=A0 686G=C2=A0 245G=C2=A0 74% /Volume= s/ext<br> > /dev/disk2s1=C2=A0 =C2=A0 =C2=A039M=C2=A0 =C2=A033M=C2=A0 6.4M=C2=A0 8= 4% /Volumes/BEAGLEBONE<br> > /dev/disk3s1=C2=A0 =C2=A0 =C2=A015G=C2=A0 2.5M=C2=A0 =C2=A015G=C2=A0 = =C2=A01% /Volumes/=EF=BF=BD??=EF=BF=BD?=EF=BF=BD=EF=BF=BD??=EF=BF=BD?=EF=BF= =BD<br> ><br> > Mini:~$ LC_ALL=3DC df -h<br> > Filesystem=C2=A0 =C2=A0 =C2=A0 Size=C2=A0 Used Avail Use% Mounted on<b= r> > /dev/disk0s2=C2=A0 =C2=A0 233G=C2=A0 177G=C2=A0 =C2=A055G=C2=A0 77% /<= br> > /dev/disk1s2=C2=A0 =C2=A0 931G=C2=A0 686G=C2=A0 245G=C2=A0 74% /Volume= s/ext<br> > /dev/disk2s1=C2=A0 =C2=A0 =C2=A039M=C2=A0 =C2=A033M=C2=A0 6.4M=C2=A0 8= 4% /Volumes/BEAGLEBONE<br> > /dev/disk3s1=C2=A0 =C2=A0 =C2=A015G=C2=A0 2.5M=C2=A0 =C2=A015G=C2=A0 = =C2=A01% /Volumes/=EB=AC=B4=EC=A0=9C<br> ><br> > Mini:~$ LC_ALL=3Dko_KR.UTF-8 locale<br> > LANG=3D"ko_KR.UTF-8"<br> > LC_COLLATE=3D"ko_KR.UTF-8"<br> > LC_CTYPE=3D"ko_KR.UTF-8"<br> > LC_MESSAGES=3D"ko_KR.UTF-8"<br> > LC_MONETARY=3D"ko_KR.UTF-8"<br> > LC_NUMERIC=3D"ko_KR.UTF-8"<br> > LC_TIME=3D"ko_KR.UTF-8"<br> > LC_ALL=3D"ko_KR.UTF-8"<br> ><br> > LC_ALL=3DC makes it work well.<br> > By the way, why does gls work well without LC_ALL setting?<br> <br> </div></div>Right. LC_ALL=3DC will avoid the multibyte processing.<br> Now ls and df have similar multibyte processing,<br> with ls using mbrtowc() and df using mbstowcs().<br> Perhaps there is some issue with our use of the later on OSX,<br> with decomposed form?<br> I'll try to get access. What version of OSX is this?<br> <br> thanks,<br> P=C3=A1draig<br> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class= =3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><d= iv><div dir=3D"ltr"><div><div style=3D"font-size:12.8px">------------------= --------</div><div style=3D"font-size:12.8px"><p style=3D"font-size:14px;co= lor:rgb(80,0,80)"><img src=3D"http://www.daliworks.net/wp-content/uploads/2= 014/10/homepage-logo1.png"></p><p style=3D"font-size:14px;color:rgb(80,0,80= )"><b>"<span style=3D"color:rgb(20,24,35);font-family:helvetica,arial,= sans-serif;line-height:19.32px">Good People, Valuable Challenge, Better Wor= ld</span>"</b><br></p><p style=3D"font-size:14px;color:rgb(80,0,80)">J= aeseok Park | Daliworks Inc.<br></p><p style=3D"font-size:14px;color:rgb(80= ,0,80)">Mobile : +82-10-5759-5853</p><p style=3D"font-size:14px;color:rgb(8= 0,0,80)">Office : +82-02-2274-3254</p><div>----------------------------</di= v></div></div></div></div></div></div> </div> --001a11414e8adcecfb05480ede5f--
Received: (at control) by debbugs.gnu.org; 29 Oct 2018 02:37:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 28 22:37:57 2018 Received: from localhost ([127.0.0.1]:49557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gGxRF-0008T7-KX for submit <at> debbugs.gnu.org; Sun, 28 Oct 2018 22:37:57 -0400 Received: from mail-it1-f176.google.com ([209.85.166.176]:35533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <assafgordon@HIDDEN>) id 1gGxRD-0008St-Mm for control <at> debbugs.gnu.org; Sun, 28 Oct 2018 22:37:55 -0400 Received: by mail-it1-f176.google.com with SMTP id p64-v6so7752486itp.0 for <control <at> debbugs.gnu.org>; Sun, 28 Oct 2018 19:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=22TlBjnWsLwlHZ03qiCvgRq8Ouzsn6Jz4bqADH6MNy4=; b=SO4uUv2TDI4vKoMRn7Fhz51W9P/pohBJGZOZickkJXpOBCflbf4khPiSk5il5OvrgM BJRibZrpiFDwaNAbNQ6f6Oi/Xy+EHMXGyLOLlGx2+N+sXaxPCI+99Hh8qABucW2buP40 fylNXyc5Muac5myH2HZVebYJ4qNMPlQ+GgoT7V2icWJmxyFIqbWiDbzj4z17jesRRyGI AGuPuKVWb2+un+ung6EvGJl5Us3PfCzyJI0F8iA89OjuRJjbSUyyQbYZrfCQfRFq6kqo 1JVYCCQsE+pGMUrrVtYv1pKu+/wiFXizoaE3S9XK8s8HcKFHPdz0cShEbVkEAN7WaCM8 HOVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=22TlBjnWsLwlHZ03qiCvgRq8Ouzsn6Jz4bqADH6MNy4=; b=mtFJDLDG10aSI2emXvwsFwq7XE3FDQws2ivSo53ff9gI949cinNbHts+onOJe1XYNt hcasR2tzaQADjsjD0bOxuqO9KxFRpwAL612gL9R+EeQDVOLMtqmYtBSVBF7Edkc8cWpB Rk7b/OD4xTr6iejmnuzY36Mq5PRzbU6xzeA6SRk1sA8yEHRwA8MAIEdoso93PQQl0y62 /g2NWk/qM3rcFHA2nn5r7rCu22sTkIQS1RZ009Z+xp3wAYmTp8+Ej2lHXj9MiwSc22BL b8E/l4E3gXTfaNdSMt79U7C81qJKdF7PkDlNt9/nmn6th8XsgpbGoTBVCnl0Mf0gYE1N tL5A== X-Gm-Message-State: AGRZ1gIFY3D5BWQqT4G1w7lH2BmUJ62to1InxQQGNiDTdOMqB/41QgFb muJDNTGdNX6BedAiDBFhZdOj5VrEWNk= X-Google-Smtp-Source: AJdET5faUo0PVdFqSz6BHupp/y+ge4tqZOYhrJDOgfWj/jpNQvPNJx4Hc2VtTLDyIIL7K2RVU14/Zg== X-Received: by 2002:a24:1fc1:: with SMTP id d184-v6mr9578295itd.142.1540780669759; Sun, 28 Oct 2018 19:37:49 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id p22-v6sm2378105iog.3.2018.10.28.19.37.48 for <control <at> debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Oct 2018 19:37:48 -0700 (PDT) To: control <at> debbugs.gnu.org From: Assaf Gordon <assafgordon@HIDDEN> Message-ID: <5d1e9cac-88a0-8228-5d48-7834d6a99421@HIDDEN> Date: Sun, 28 Oct 2018 20:37:47 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: retitle 25630 multibyte: df: unicode is not supported on mounted point [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.166.176 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) retitle 25630 multibyte: df: unicode is not supported on mounted point
Received: (at control) by debbugs.gnu.org; 30 Oct 2018 09:01:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 30 05:01:14 2018 Received: from localhost ([127.0.0.1]:53294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gHPtg-0003vG-42 for submit <at> debbugs.gnu.org; Tue, 30 Oct 2018 05:01:12 -0400 Received: from mail-pf1-f180.google.com ([209.85.210.180]:35651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <assafgordon@HIDDEN>) id 1gHPte-0003pZ-84 for control <at> debbugs.gnu.org; Tue, 30 Oct 2018 05:01:10 -0400 Received: by mail-pf1-f180.google.com with SMTP id z2-v6so2896968pfe.2 for <control <at> debbugs.gnu.org>; Tue, 30 Oct 2018 02:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=eJx8VGAdNiJSKcDaaWDro8G6Ik4fM7fKHC2vByvqgAY=; b=tBuVy2M9ONiWixENO8O4Xf9o9RbW7ORy4ve5Ub5QHAfQnSqNo1fRgctFgMJMy4Eube 63629d1aiRTP+mjpG6GD7UIEvF6VQf2l1y+NGZM58kKypyQX48mLQODaindOuPmRmzEA WrIcAuhCOhDax+eem9f9N9zstJ3PgsK2SBcfG0qktOgmv1/RseNnUSc/+wpan7RKDQHW iM8fzOFStTYS96qHddQxak8nZyqiPtk8rnnwkXCvJW/kEkMY2HWciT110wT5BayRwnSL cn4YfyAu2EX1F5TSa7Jt/ET833+7N7W66l8WsrPwRO8kYg5vYNJB1tFh3C7WPg8OXH6i UO7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=eJx8VGAdNiJSKcDaaWDro8G6Ik4fM7fKHC2vByvqgAY=; b=qvG787trau9F/c+ZYf/q3lNfMkT5B9nPNTUo+4b/B1YJ/HOs/ZwdAzrYWtDx73+3wc UdaugBpHxlF2BImwFA3FI2yWw3Vbu2uLPM/mD5j9rfBjmJa4d5EQf4oSCpTvKCSp746S O6sHzXyGeA8Wnaj3eGm7ZNqoLoSPS0qb4NM+YA0HxvXsfhZxtBCQkuwrMSPcR26q3siE SWtfd+xeDDLqutOkqqKsx10qMJebCzKtUPY+ASO2kT5PeSMqhHIjN7ijRbug5I4Uublp NKNMLd0DBxI5+pmYIZbsdFxcZ3j5MYTo/OtxNC1OXXmnpCCKF8KPKzH4V92GTFPIigNY QZUw== X-Gm-Message-State: AGRZ1gKZvh69f3xG0dyxc3nDZqrMc/7NYm0zvPK6DxdPKZmM/SaFTJXj d1JbCSHtxX0QBop05mR2B9t0ByA9LKc= X-Google-Smtp-Source: AJdET5dL62H3x0AOsycTFgR76WS3J4S+SGnKIoVeQLczUTc++1z3QjQFtG/1j2W4p1+Q6kf0Hg0gig== X-Received: by 2002:a63:86c2:: with SMTP id x185mr16000720pgd.230.1540890063562; Tue, 30 Oct 2018 02:01:03 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id j25-v6sm25173714pff.116.2018.10.30.02.01.01 for <control <at> debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Oct 2018 02:01:02 -0700 (PDT) To: control <at> debbugs.gnu.org From: Assaf Gordon <assafgordon@HIDDEN> Message-ID: <f2754721-9e7b-6f5f-e837-ef6ff1d8955a@HIDDEN> Date: Tue, 30 Oct 2018 03:01:00 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: severity 25630 wishlist [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.210.180 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.210.180 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) severity 25630 wishlist
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.