From owner-freebsd-questions@FreeBSD.ORG Sat Aug 16 09:02:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FF8C1065672 for ; Sat, 16 Aug 2008 09:02:40 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id D678F8FC17 for ; Sat, 16 Aug 2008 09:02:39 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m7G92U68078146; Sat, 16 Aug 2008 10:02:31 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.0 smtp.infracaninophile.co.uk m7G92U68078146 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1218877351; bh=Gr/CyfxerNc2Gg OuZZ56yM87z8tQmNP4nc79PLhnStQ=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<48A697A1.2020101@infracaninophile.co.uk>|Date:=20Sat,=2 016=20Aug=202008=2010:02:25=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.16=20(X11/20080726)|MIME-Version:=201 .0|To:=20Colin=20Brace=20|CC:=20freebsd-questions@freebs d.org|Subject:=20Re:=20ext3=20to=20ufs:=20filename=20character=20en coding=20woes|References:=20<19009703.post@talk.nabble.com>|In-Repl y-To:=20<19009703.post@talk.nabble.com>|X-Enigmail-Version:=200.95. 6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0 A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"- -----------enig06E6B2CA9D7AFA926544945E"; b=hNIYMS8IMUaP3xmS51lXHcB zgyT02DB4m4mZAdXPVgZy2lMNLD+/D/TcgEhX2mNlV+iBZWSvkEQ1ftJsYfLncv26Jv UsqTVRbfQ82Pbgp3jEjXeK5EqIEZLV7gT5Yt30WcKpVH+nEA9Q/k8wqvpp9aXonGVN0 aAf7Z8f4NxBUWA= Message-ID: <48A697A1.2020101@infracaninophile.co.uk> Date: Sat, 16 Aug 2008 10:02:25 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: Colin Brace References: <19009703.post@talk.nabble.com> In-Reply-To: <19009703.post@talk.nabble.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig06E6B2CA9D7AFA926544945E" X-Virus-Scanned: ClamAV 0.93.3/8051/Sat Aug 16 04:44:59 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: ext3 to ufs: filename character encoding woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 09:02:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig06E6B2CA9D7AFA926544945E Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Colin Brace wrote: > Hi all, >=20 > Using rsync, I copied a collection of MP3s from an ext3 partition on my= > Linux F9 box to a UFS partition my FreeBSD 7 box. Many of the song titl= es > had accented characters, which are now displayed as two question marks = (??) > on my FreeBSD system, like this: >=20 > Toquinho & Vin=C3=ADcius - Samba da Ben=C3=A7=C3=A3o.mp3 --> > Toquinho & Vin??cius - Samba da Ben????o.mp3 >=20 > Thinking that rsync might be interfering in some way, I checked the man= page > and found this option to use: >=20 > -8, --8-bit-output leave high-bit chars unescaped in output >=20 > but it makes no difference. I then tried copying a file with scp and th= en > just cp across an NFS share. In every case, the accents get hosed. >=20 > My Linux box is configured for UTF-8: >=20 > $ cat /etc/sysconfig/i18n > LANG=3D"en_US.UTF-8" >=20 > I would have assumed that this would also be the default setting for > FreeBSD, but this appears not to be the case.=20 >=20 > Googling, I came up with instructions for editing /etc/login.conf, so I= > added=20 >=20 > :charset=3Den_US.UTF-8: >=20 > under=20 >=20 > default:\ >=20 > exited the shell and logged in again, but no change.=20 >=20 > What I am missing here? # cap_mkdb /etc/login.conf perhaps? You might also want to add a :lang=3Den_US.UTF-8: item to the default entry in login.conf -- that will result in $LANG being set in the environment when you next log in. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig06E6B2CA9D7AFA926544945E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkiml6YACgkQ8Mjk52CukIyBRQCfTHfz/Tgb/Y/X0IInEDK8ETt5 S6kAnjCpD/ypIZD/CNYK4gYxyUH1qt76 =v8AW -----END PGP SIGNATURE----- --------------enig06E6B2CA9D7AFA926544945E--