Mailinglist Archive: opensuse (1185 mails)

< Previous Next >
[opensuse] Prob solved: (Re: locale xxx.utf8? ) but Question...?
  • From: Linda Walsh <suse@xxxxxxxxx>
  • Date: Tue, 04 May 2010 11:21:13 -0700
  • Message-id: <4BE06599.2000204@xxxxxxxxx>
My installed RPM was corrupt.

Reinstalling it fixed the problem...specifically (and most importantly)
even though I have
RC_LANG="en_US.UTF-8",


It wants "en_US" in:
en_US in /usr/lib/locale.

Why it doesn't want
en_US.UTF-8, there, I don't know...

Why doesn't it have en_US.UTF-8 and en_US there when
it only wants to use "en_US"...?

But I thought the native mode was supposed to be "en_US.UTF-8"
(in US locale), why would it need/want two separate
directories:
en_US, en_US.UTF-8, if they are supposed to be the same?

Nearly all the files are different.

Does that mean it's using a non UTF-8 encoding for
most of my 'locale' values? I.e.:
diff -r en_US en_US.utf8
Files en_US/LC_ADDRESS and en_US.utf8/LC_ADDRESS differ
Files en_US/LC_COLLATE and en_US.utf8/LC_COLLATE differ
Files en_US/LC_CTYPE and en_US.utf8/LC_CTYPE differ
Files en_US/LC_IDENTIFICATION and en_US.utf8/LC_IDENTIFICATION differ
Files en_US/LC_MEASUREMENT and en_US.utf8/LC_MEASUREMENT differ
Files en_US/LC_MESSAGES/SYS_LC_MESSAGES and
en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES differ
Files en_US/LC_MONETARY and en_US.utf8/LC_MONETARY differ
Files en_US/LC_NAME and en_US.utf8/LC_NAME differ
Files en_US/LC_NUMERIC and en_US.utf8/LC_NUMERIC differ
Files en_US/LC_PAPER and en_US.utf8/LC_PAPER differ
Files en_US/LC_TELEPHONE and en_US.utf8/LC_TELEPHONE differ
Files en_US/LC_TIME and en_US.utf8/LC_TIME differ

Grr. Is this some sort of "US" people can't handle UTF-8,
cuz it will confuse them!?

Anyway...will have to run my various UTF-8 wanting/aware programs
to see if this changes any of the faulty behaviors I was
observing...

(programs like
Perl (anything perl based checks for UTF-8 or not, default is UTF-8,
but I had many programs that were not behaving correctly).

Samba (was working before 11.2 upgrade, but post11.2 -- I have
some characters displaying on my Win-stations in wrong character
sets again)...

et al....
)

Thanks for helping me what I should have been able to discover on my
own...(hitting self on head)...and sorry for time waste...though
still confused about why en_US and en_US.utf8 are different when I
am choosing UTF-8 in LANG...(but it looks in en_US for messages, not
xx.utf8).

-linda
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups