[H-GEN] UTF-8 vs ISO-8859-1
David Starkoff
dbs at uq.net.au
Sat Jun 24 01:22:45 EDT 2006
On 23/06/2006, at 2:42 PM, Troy Piggins wrote:
> $ LANG="en_AU.ISO-8859-1"
> $ locale
> locale: Cannot set LC_CTYPE to default locale: No such file or
> directory
Are you sure the first line shouldn't be:
export LANG=en_AU.ISO8859-1
I think the value of $LANG should correspond to a directory in /usr/
share/locale. That would explain the "No such file or directory" error.
At least for me (which is, admittedly, OS X and not a Linux
distribution):
posner:~ dbs$ locale -a | grep en_AU
en_AU
en_AU.ISO8859-1
en_AU.ISO8859-15
en_AU.US-ASCII
en_AU.UTF-8
(ISO 8859-15 is, essentially, a refinement of ISO 8859-1, including
the euro sign but removing the fractions: see <http://
en.wikipedia.org/wiki/ISO/IEC_8859-15>.)
> See the /etc/locale.alias:francais above? Where the 'c' is in
> francais I see a box instead of the character (I know it's not
> really a 'c' but can't remember what it's called).
It's a "c" with a "cedilla": <http://en.wikipedia.org/wiki/Cedilla>.
--
David.
More information about the General
mailing list