Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2008 01:26:21 -0700 (PDT)
From:      Colin Brace <cb@lim.nl>
To:        freebsd-questions@freebsd.org
Subject:   ext3 to ufs: filename character encoding woes
Message-ID:  <19009703.post@talk.nabble.com>

next in thread | raw e-mail | index | archive | help

Hi all,

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=C3=ADcius - Samba da Ben=C3=A7=C3=A3o.mp3 -->
Toquinho & Vin??cius - Samba da Ben????o.mp3

Thinking that rsync might be interfering in some way, I checked the man pag=
e
and found this option to use:

-8, --8-bit-output          leave high-bit chars unescaped in output

but it makes no difference. I then tried copying a file with scp and then
just cp across an NFS share. In every case, the accents get hosed.

My Linux box is configured for UTF-8:

$ cat /etc/sysconfig/i18n
LANG=3D"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.=20

Googling, I came up with instructions for editing /etc/login.conf, so I
added=20

:charset=3Den_US.UTF-8:

under=20

default:\

exited the shell and logged in again, but no change.=20

What I am missing here?

Thanks.

-----
  Colin Brace
  Amsterdam
  http://lim.nl
--=20
View this message in context: http://www.nabble.com/ext3-to-ufs%3A-filename=
-character-encoding-woes-tp19009703p19009703.html
Sent from the freebsd-questions mailing list archive at Nabble.com.




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