Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2008 10:02:25 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Colin Brace <cb@lim.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ext3 to ufs: filename character encoding woes
Message-ID:  <48A697A1.2020101@infracaninophile.co.uk>
In-Reply-To: <19009703.post@talk.nabble.com>
References:  <19009703.post@talk.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



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