On 5/11/2011 12:54 PM, Dale wrote:

> root@fireball / # locale -a
> C
> POSIX
> en_US
> en_US.iso88591
> en_US.utf8

So you have three locales installed (C and POSIX are internal and always
present) that are the same language and region with different character
sets. You probably don't need to do this anymore, since most every
modern application can handle UTF-8 character data and, even if it
can't, UTF-8 data looks identical to US-ASCII data for most English
language text.

> root@fireball / # locale
> LANG=
> LC_CTYPE="POSIX"
> LC_NUMERIC="POSIX"
> LC_TIME="POSIX"
> LC_COLLATE="POSIX"
> LC_MONETARY="POSIX"
> LC_MESSAGES="POSIX"
> LC_PAPER="POSIX"
> LC_NAME="POSIX"
> LC_ADDRESS="POSIX"
> LC_TELEPHONE="POSIX"
> LC_MEASUREMENT="POSIX"
> LC_IDENTIFICATION="POSIX"
> LC_ALL=
> root@fireball / #

This means that your UTF-8 setup is clearly *not* working :) Your locale
is not being set anywhere, it's using the glibc default of POSIX. POSIX
is approximately equal to en_US as far as date/time, sorting, etc. but
lacks most of the numeric formatting (no currency symbol, no thousands
separator, etc). It's also using the default US-ASCII character set.

--Mike

Reply via email to