ext3 to ufs: filename character encoding woes

Roland Smith rsmith at xs4all.nl
Sat Aug 16 09:01:10 UTC 2008

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:
> Toquinho & Vinícius - Samba da Benção.mp3 -->
> Toquinho & Vin??cius - Samba da Ben????o.mp3

> My Linux box is configured for UTF-8:
> $ cat /etc/sysconfig/i18n
> LANG="en_US.UTF-8"
> I would have assumed that this would also be the default setting for
> FreeBSD, but this appears not to be the case. 

> What I am missing here?

Add LC_ALL=en_US.UTF-8 to the :setenv in /etc/loging.conf. When using an
X terminal progrm, pick a unicode font, e.g. 

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).

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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080816/46cff5c2/attachment.pgp

More information about the freebsd-questions mailing list