Subject: Re: national characters (stupid) questions
To: None <netbsd-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 01/12/2003 15:01:13
--=.:k_WigGlou51LW
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Wojciech Puchar <wojtek@tensor.3miasto.net> wrote:
> 1) how to make ls display polish national characters in filenames
> instead of ? (mc displays fine, ls > file and cat file too!)
> 2) how to make less view them as is instead of reverse displayed
> hexcodes?
Try this:
LOCALPATH=/usr/share
LC_CTYPE=pl_PL.ISO8859-2
export LOCALPATH LC_CTYPE
You can lookup all valid values from /usr/share/locale. AFAIK programs
build against GNU gettext use /usr/pkg/share/locale instead.
Christian
--=.:k_WigGlou51LW
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)
iD8DBQE+IXU90KQix3oyIMcRAhnSAJ9qXD4+Wvn/UgjcI0DEEXw28jmnDACgzZII
64ztSfXd9XY486ZGPNQCNp8=
=Pomw
-----END PGP SIGNATURE-----
--=.:k_WigGlou51LW--