Subject: Re: mount_smbfs Character Encoding funtional?
To: None <netbsd-users@NetBSD.org,>
From: Hubert Feyrer <hubertf@gmx.de>
List: netbsd-users
Date: 09/08/2005 09:56:20
In article <op.swm2ljn6f2m1l9@hal> you wrote:
> I can't get proper Character Conversion on my Network:
>=20
> PCD-4H: {12} mount_smbfs -E ISO8859-1:cp850 //fed@Bremen/fed /m=
nt
> Password:
> PCD-4H: {13} ls -d /mnt/FSC*
> /mnt/FSC Datenbl?tter
>=20=20=20=20=20=20=20=20=20
> The result should be:
> /mnt/FSC Datenbl=E4tter
...
> Is character conversion functional with Mount_smbfs distributed with
> NetBSD 2.0?
Your problem may very well be ls(1) instead of smbfs:
noon% touch bl\344
noon% ls bl*
bl?
(where the \344 was entered in my tcsh as Ctrl+V then Alt-D (in term).
Fix:
noon% env LC_ALL=3Dde_DE.ISO8859-1 ls bl*
bl=E4
(No, I have ~no clue on all this locale stuff!)
- Hubert