Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2008 11:01:00 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Colin Brace <cb@lim.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ext3 to ufs: filename character encoding woes
Message-ID:  <20080816090100.GA11815@slackbox.xs4all.nl>
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

--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Aug 16, 2008 at 01:26:21AM -0700, Colin Brace wrote:
> 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 titles
> had accented characters, which are now displayed as two question marks (?=
?)
> on my FreeBSD system, like this:
>=20
> Toquinho & Vin=EDcius - Samba da Ben=E7=E3o.mp3 -->
> Toquinho & Vin??cius - Samba da Ben????o.mp3

> 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

> What I am missing here?

Add LC_ALL=3Den_US.UTF-8 to the :setenv in /etc/loging.conf. When using an
X terminal progrm, pick a unicode font, e.g.=20
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1

I don't think that the system console has unicode support, you should
probably use a ISO 8859-15 font, e.g. iso15-8x16.fnt, see kbdmap(1).

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--LZvS9be/3tNcYl/X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkiml0wACgkQEnfvsMMhpyW4MwCglwYuF6Lh5y1pbb3TirKi2DLD
uKkAn3VzYQtMhjLp24i2HLAlcUJU1W8X
=2NWN
-----END PGP SIGNATURE-----

--LZvS9be/3tNcYl/X--



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