[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: locales and accented charaters



On Sat, Oct 26, 2002 at 07:13:13PM +0200, J.H.M. Dassen (Ray) wrote:
> LANG doesn't influence which characters the system considers printable.
> LC_CTYPE (e.g. "en_US.ISO8859-1") does.

right, but at least on my box, if i specify LANG=en_US, i don't need
to set LC_CTYPE explicitly to be able to view accented characters:

balthasar[~]13:50:26$ echo $LANG
en_US
balthasar[~]13:51:34$ echo $LC_CTYPE

balthasar[~]13:51:39$ locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
<...snip...>

balthasar[~]13:54:52$ ls -ld /music/balthasar/Björk
drwxrwsr-x    3 seanius  music        4096 2002-08-16 13:53 /music/balthasar/Björk

but i did have to copy and paste the ö on the command line :)  on a 
related note, is there an easy way to type accented characters on the
command line?  that's something i've been wondering for ages.

--sean

Attachment: pgpnS8zpevQPk.pgp
Description: PGP signature


Reply to: