Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2014 17:24:54 +0200
From:      =?windows-1250?Q?M=26S_-_Krasznai_Andr=E1s?= <Krasznai.Andras@mands.hu>
To:        Kevin Lo <kevlo@FreeBSD.org>, "dt71@gmx.com" <dt71@gmx.com>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, David Chisnall <theraven@FreeBSD.org>
Subject:   RE: freebsd and utf-8 directory names
Message-ID:  <3B0F582294DE3E448963BA62DC306AEE3C7F7E76E4@exchange.mands.hu>
In-Reply-To: <20140703033313.GA44200@ns.kevlo.org>
References:  <3B0F582294DE3E448963BA62DC306AEE3C7F5FBCEC@exchange.mands.hu> <53B2C8B4.50306@gmx.com> <7C6EC1A0-520F-49CA-8C05-1F3205080543@FreeBSD.org> <53B335BB.5090402@gmx.com>,<20140703033313.GA44200@ns.kevlo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--_002_3B0F582294DE3E448963BA62DC306AEE3C7F7E76E4exchangemands_
Content-Type: text/plain; charset="windows-1250"
Content-Transfer-Encoding: quoted-printable

Hi, Kevin,


I made the experiment and there was no fault, the "result" contains the sta=
t outputs.=20
I used login-class (according to the handbook) to set the environment, and =
added the -L hu_HU.UTF-8 option to the appropriate line in fstab


rgds

Andr=E1s
________________________________________
From: owner-freebsd-current@freebsd.org [owner-freebsd-current@freebsd.org]=
 On Behalf Of Kevin Lo [kevlo@FreeBSD.org]
Sent: Thursday, July 03, 2014 5:33 AM
To: dt71@gmx.com
Cc: freebsd-current@freebsd.org; David Chisnall
Subject: Re: freebsd and utf-8 directory names

On Wed, Jul 02, 2014 at 12:27:07AM +0200, dt71@gmx.com wrote:
>
> David Chisnall wrote, On 07/01/2014 19:06:
> > Please note that forums.freebsd.org is not a bug tracker.  I tried sear=
ching the bug tracker for bugs with FAT and filename or FAT and utf-8/utf8/=
character in their names and could not find any reference to this issue.
> >
> > If you actually want to see bugs fixed, rather than just complain about=
 them, please file them here: https://bugs.freebsd.org/bugzilla/enter_bug.c=
gi  Make sure that you provide all of the steps required to reproduce them.
>
> I neglected to submit a bug report because:
> (1) there were already at least 3 bug reports related to (FAT32 and) char=
acter sets or encodings, some of them even had patches;
> (2) the reports were very old, indicating that the FreeBSD developers don=
't care about FAT32;
> (3) at least one report was seemingly related, and I didn't want to creat=
e a(nother) possible duplicate.
>
> But now, eat this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D19=
1540

Well, I'm going to close that PR. :-)
First, set LANG environment variable to hu_HU.UTF-8 in your case:

# setenv LANG hu_HU.UTF-8

Second, mount the FAT32 partition in Hungarian locale:

# mount_msdosfs -L hu_HU.UTF-8 /dev/da0s1 /mnt

Third, untar your attachement file:

# tar xvf /mnt/files.zip
x 1=92.txt
x 2=96.txt

# stat 1=92.txt
128 244744 -rwxr-xr-x 1 root wheel 4294967295 0 "Jan  1 08:00:00 1980" "Aug=
  1 16:57:52 2011" "Aug  1 16:57:52 2011" "Jul  3 11:28:24 2014" 16384 0 0x=
800 1=92.txt

# stat 2=96.txt
128 244746 -rwxr-xr-x 1 root wheel 4294967295 0 "Jan  1 08:00:00 1980" "Aug=
  1 16:55:20 2011" "Aug  1 16:55:20 2011" "Jul  3 11:28:24 2014" 16384 0 0x=
800 2=96.txt

Let me know if that works for you, thanks.

        Kevin
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

--_002_3B0F582294DE3E448963BA62DC306AEE3C7F7E76E4exchangemands_
Content-Type: application/octet-stream; name="result"
Content-Description: result
Content-Disposition: attachment; filename="result"; size=444;
	creation-date="Thu, 03 Jul 2014 17:25:17 GMT";
	modification-date="Thu, 03 Jul 2014 17:25:17 GMT"
Content-Transfer-Encoding: base64

a3Jhc3puYWktYTovd2luZG93cy9EL1RFU1QjIHN0YXQgMeKAmS50eHQgCjEyOCAyMDUzMTIzIC1y
d3hyLXhyLXggMSByb290IHdoZWVsIDQyOTQ5NjcyOTUgMCAiRGVjIDMxIDIzOjAwOjAwIDE5Nzki
ICJBdWcgIDEgMTY6NTc6NTIgMjAxMSIgIkF1ZyAgMSAxNjo1Nzo1MiAyMDExIiAiSnVsICAzIDE3
OjIxOjUzIDIwMTQiIDE2Mzg0IDAgMHg4MDAgMeKAmS50eHQKa3Jhc3puYWktYTovd2luZG93cy9E
L1RFU1QjIHN0YXQgMuKAky50eHQgCjEyOCAyMDUzMTI1IC1yd3hyLXhyLXggMSByb290IHdoZWVs
IDQyOTQ5NjcyOTUgMCAiRGVjIDMxIDIzOjAwOjAwIDE5NzkiICJBdWcgIDEgMTY6NTU6MjAgMjAx
MSIgIkF1ZyAgMSAxNjo1NToyMCAyMDExIiAiSnVsICAzIDE3OjIxOjUzIDIwMTQiIDE2Mzg0IDAg
MHg4MDAgMuKAky50eHQKa3Jhc3puYWktYTovd2luZG93cy9EL1RFU1QjIAoK

--_002_3B0F582294DE3E448963BA62DC306AEE3C7F7E76E4exchangemands_--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B0F582294DE3E448963BA62DC306AEE3C7F7E76E4>