Discussion:
utf8-problems
Marcus Sundman
2008-02-27 03:30:45 UTC
Permalink
Hi,

I can't get the filesystem to work with utf-8. E.g., if I write ä
(i.e., auml, i.e. the bytes c3 a4) into a file, foo, then "cat foo"
shows "ä" just fine (in my ssh client). However, if I "touch `cat foo`"
then "ls `cat foo`" only shows "??". OTOH, "ls `cat foo`|cat" and
"/usr/xpg4/bin/ls `cat foo` both show "ä", which is correct.

Also:
---8<------------------------------------------
$ locale
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=
$
--->8------------------------------------------
(And I've also tried setting LANG and LC_ALL to "en_US.UTF-8", but that
didn't help either. In fact, it caused programs to complain about
locale settings.)

Also, nexenta doesn't accept ä from the keyboard (neither in my ssh
client nor from the physical keyboard) for some reason. Pressing the
"ä" key just makes it beep.

Is there a bug in /usr/bin/ls and/or some other file(s), or do I have
some settings wrong?


- Marcus

Loading...