Re: F11: UTF-8 Locale issue

2009-09-14 Thread Anne Wilson
On Monday 14 September 2009 03:05:02 Tim wrote:
 Tim:
  In what way did you do that marking?  Adding packages, or setting
  some language preferences?
 
 Anne Wilson:
  Neither.  By choosing English British at install, for language and
  keyboard, and by checking in system-config-languages.  Nothing else at
  all.  I have no other locales installed.
 
 I wonder if that merely sets the locale used by the install routine
 (rather like network settings set during install only pertain to
 settings used while installing).
 
While that could be true (no idea whether it is), I would certainly expect 
that the setting shown in s-c-languages would be the one used.

Anne
-- 
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase


signature.asc
Description: This is a digitally signed message part.
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: F11: UTF-8 Locale issue

2009-09-14 Thread Tim
Tim:
 Have you, now, changed the defaults, and did it work?

Daniel B. Thurman:
 Please bear with me if I seem dense. What do you
 mean by if I have changed the defaults???

 What is the defaults? How can I tell.

Well, in that question I meant this:  Your system had defaulted to
Afrikaans (it had set /something/ before you had done so).  Had you
changed that setting, and did it make any noticeable difference.?

I'm not sure, but changing that setting might require a log out and back
in again.  I think my default was en-US, though I can't remember.  I set
my locale on the GDM screen as I was logging in.  I cannot remember any
locale setting during the installation.  Later, I set the system default
to en-AU (Gnome system administration preference control for Language),
so that anyone else who logged in would start with the (usual) right
default, so they wouldn't have to change anything.


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F11: UTF-8 Locale issue

2009-09-14 Thread Anne Wilson
On Monday 14 September 2009 12:02:05 Tim wrote:
 I'm not sure, but changing that setting might require a log out and back
 in again. 
 
Actually, mine is now working correctly, from which I infer that logging out 
was not sufficient, but a reboot was needed.

Anne
-- 
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase


signature.asc
Description: This is a digitally signed message part.
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: F11: UTF-8 Locale issue

2009-09-14 Thread Daniel B. Thurman
On 09/12/2009 11:11 PM, Tim wrote:
 On Sat, 2009-09-12 at 16:28 -0700, Daniel B. Thurman wrote:
   
 Can someone direct me how to set a system-wide
 UTF-8 locales?
 
 That's the default (using UTF-8 encoding for most, if not all, locales).
 What do you get if you type the locale command into a terminal?

 [...@suspishus ~]$ locale
 LANG=en_AU.UTF-8
 LC_CTYPE=en_AU.UTF-8
 LC_NUMERIC=en_AU.UTF-8
 LC_TIME=en_AU.UTF-8
 LC_COLLATE=en_AU.UTF-8
 LC_MONETARY=en_AU.UTF-8
 LC_MESSAGES=en_AU.UTF-8
 LC_PAPER=en_AU.UTF-8
 LC_NAME=en_AU.UTF-8
 LC_ADDRESS=en_AU.UTF-8
 LC_TELEPHONE=en_AU.UTF-8
 LC_MEASUREMENT=en_AU.UTF-8
 LC_IDENTIFICATION=en_AU.UTF-8
 LC_ALL=

   

Ok, I think I finally figured out why when
logging into Gnome, the default LANG=C
was set!

When the GDM login screen appears, there is
no mention of Language / Session options until
AFTER you select or manually enter the user name.

Looking at the DEFAULT Language setting, it
says: Unspecified

WTH - WHY?

Obviously when I selected Language to be in my
case English (USA), then entered my password,
my session is now using English (USA) locale.

ALSO:

This mechanism seems to have changed after F9
since the Language / Session option is shown regardless
if a username has been selected or not!?!?

Ugh.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F11: UTF-8 Locale issue

2009-09-14 Thread Daniel B. Thurman
On 09/13/09 19:49, Ed Greshko wrote:
 Daniel B. Thurman wrote:
   
 On 09/13/09 19:06, Tim wrote:
 
 On Sun, 2009-09-13 at 08:58 -0700, Daniel B. Thurman wrote:

   
 I manually typed in: system-config-language and the default was
 the first top item in the list, i.e. Afrikaans (South America)
 and this was somehow the default set during installation of F11
 even though the installer told me it was correctly set to English
 (USA).

 
 Two things spring to mind:

 As I said to Anne, perhaps the installation option only sets
 settings pertaining to doing the installation, not what happens
 with the new system.

 Have you, now, changed the defaults, and did it work?

   
 Please bear with me if I seem dense. What do you mean by if I have
 
 changed the defaults???
 
 What is the defaults? How can I tell.
 
 The system wide default is held in /etc/sysconfig/i18n and seems to be
 en_US.UTF-8.
   
 I already said that when I first started system.config.language that
 the default was set to Afrikaan or at least this item was
 highlighted, assumed that this default is wrong and proceeded to
 change this item to: English (USA), and closed the program.

 Did it work?

 I am still seeing the following in the system logs:

 Sep 13 08:46:14 hostname ntfs-3g[7707]: Could not convert filename
 to Unicode: 'Clavier-B�chlein F�r Anna Maguire': Invalid or
 incomplete multibyte or wide character

 I do not see this sort of error message in F9, using the same exact
 filesystem drive/partition. I compared F9  F11 /etc/sysconfig/i18n
 as follows:

 In F9: LANG=en_US.utf8 SYSFONT=latarcyrheb-sun16

 In F11: # LANG=C considerably speeds up boot (measured 5sec) --
 bernie LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16

 They are pretty much same except for that weird commented out LANG=C
 line, for which I never put there.

 It is possible that the system log message is not a locale issue
 and points to something else, I dunno...

 
 Howeveryou've said that:

 $ locale
 LANG=C
 LC_CTYPE=C
 LC_NUMERIC=C
 LC_TIME=C
 LC_COLLATE=C
 LC_MONETARY=C
 LC_MESSAGES=C
 LC_PAPER=C
 LC_NAME=C
 LC_ADDRESS=C
 LC_TELEPHONE=C
 LC_MEASUREMENT=C
 LC_IDENTIFICATION=C
 LC_ALL=

 Clearly a LANG=C will get you the problems with multi-byte characters.

 So, yes, you need to track down why/how your LANG is getting set as it
 is.  I can't think of how that would happen

 But, I would probably delete that commented out line from
 /etc/sysconfig/i18n just to make sure something weird isn't going on
 with that line. If you didn't put it there...it begs the
 question who did? Who is bernie?

 You may even consider booting into run level 3 and then seeing if your
 environment is LANG=C before running startx.
   
I deleted the strange line.
Rebooted, and no change

I added to /etc/sysconf/i18n:

LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=
SYSFONT=latarcyrheb-sun16
   
rebooted to single user mode:

$ locale
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=

^D to continue the reset of the runlevels,

Logged into gdm, opened a terminal window
and:

$ locale

LANG=C
LC_CTYPE=C
LC_NUMERIC=C
LC_TIME=C
LC_COLLATE=C
LC_MONETARY=C
LC_MESSAGES=C
LC_PAPER=C
LC_NAME=C
LC_ADDRESS=C
LC_TELEPHONE=C
LC_MEASUREMENT=C
LC_IDENTIFICATION=C
LC_ALL=

So it appears that logging in as a user,
it preempts the system-wide locale
settings.

I checked bash profiles and I did find these:

/etc/profile.d/lang.{sh|csh}

If you run these in the terminal window,
it looks to locate the $HOME/.i18n file,
and if not there, sets the default to
LANG=C

$ sh -x /etc/profile.d/lang.sh
+ sourced=0
+ '[' -n C ']'
+ saved_lang=C
+ '[' -f /home/dant/.i18n ']'
+ LANG=C   
+ unset saved_lang
+ '[' 0 = 1 ']'
+ unset sourced
+ unset langfile


WTH?  What is going on here?

Why are these scripts there to enforce that
the default be LANG=C when a user logs
in?

Does anyone have the above two files installed
in the profile.d directory?  It is possible that I
had installed some kind of package that threw
these files in?

Hrrr!

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F11: UTF-8 Locale issue

2009-09-13 Thread Tim
On Sat, 2009-09-12 at 16:28 -0700, Daniel B. Thurman wrote:
 Can someone direct me how to set a system-wide
 UTF-8 locales?

That's the default (using UTF-8 encoding for most, if not all, locales).
What do you get if you type the locale command into a terminal?

[...@suspishus ~]$ locale
LANG=en_AU.UTF-8
LC_CTYPE=en_AU.UTF-8
LC_NUMERIC=en_AU.UTF-8
LC_TIME=en_AU.UTF-8
LC_COLLATE=en_AU.UTF-8
LC_MONETARY=en_AU.UTF-8
LC_MESSAGES=en_AU.UTF-8
LC_PAPER=en_AU.UTF-8
LC_NAME=en_AU.UTF-8
LC_ADDRESS=en_AU.UTF-8
LC_TELEPHONE=en_AU.UTF-8
LC_MEASUREMENT=en_AU.UTF-8
LC_IDENTIFICATION=en_AU.UTF-8
LC_ALL=

-- 

The gates in my computer are AND, OR and NOT; they are not Bill.


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F11: UTF-8 Locale issue

2009-09-13 Thread Anne Wilson
On Sunday 13 September 2009 07:11:24 Tim wrote:
 On Sat, 2009-09-12 at 16:28 -0700, Daniel B. Thurman wrote:
  Can someone direct me how to set a system-wide
  UTF-8 locales?
 
 That's the default (using UTF-8 encoding for most, if not all, locales).
 What do you get if you type the locale command into a terminal?
 
 [...@suspishus ~]$ locale
 LANG=en_AU.UTF-8
 LC_CTYPE=en_AU.UTF-8
 LC_NUMERIC=en_AU.UTF-8
 LC_TIME=en_AU.UTF-8
 LC_COLLATE=en_AU.UTF-8
 LC_MONETARY=en_AU.UTF-8
 LC_MESSAGES=en_AU.UTF-8
 LC_PAPER=en_AU.UTF-8
 LC_NAME=en_AU.UTF-8
 LC_ADDRESS=en_AU.UTF-8
 LC_TELEPHONE=en_AU.UTF-8
 LC_MEASUREMENT=en_AU.UTF-8
 LC_IDENTIFICATION=en_AU.UTF-8
 LC_ALL=
 
Hmm - on install I marked everything as English-British.  system-config-
language says that my language is English|-British, but the 'locale' command 
marks everything as en_US.  Any ideas?

Anne
-- 
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase


signature.asc
Description: This is a digitally signed message part.
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: F11: UTF-8 Locale issue

2009-09-13 Thread Ed Greshko
Anne Wilson wrote:
 On Sunday 13 September 2009 07:11:24 Tim wrote:
   
 On Sat, 2009-09-12 at 16:28 -0700, Daniel B. Thurman wrote:
 
 Can someone direct me how to set a system-wide
 UTF-8 locales?
   
 That's the default (using UTF-8 encoding for most, if not all, locales).
 What do you get if you type the locale command into a terminal?

 [...@suspishus ~]$ locale
 LANG=en_AU.UTF-8
 LC_CTYPE=en_AU.UTF-8
 LC_NUMERIC=en_AU.UTF-8
 LC_TIME=en_AU.UTF-8
 LC_COLLATE=en_AU.UTF-8
 LC_MONETARY=en_AU.UTF-8
 LC_MESSAGES=en_AU.UTF-8
 LC_PAPER=en_AU.UTF-8
 LC_NAME=en_AU.UTF-8
 LC_ADDRESS=en_AU.UTF-8
 LC_TELEPHONE=en_AU.UTF-8
 LC_MEASUREMENT=en_AU.UTF-8
 LC_IDENTIFICATION=en_AU.UTF-8
 LC_ALL=

 
 Hmm - on install I marked everything as English-British.  system-config-
 language says that my language is English|-British, but the 'locale' command 
 marks everything as en_US.  Any ideas?

 Anne
   
The only time I've ever seen that happen is when I've logged in from the
console and language drop down box in the lower left was set to English
(United States) and I failed to notice. 

-- 
Why is everything made of Lycra Spandex? Guess Who!
http://tinyurl.com/mc4xe7



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: F11: UTF-8 Locale issue

2009-09-13 Thread Anne Wilson
On Sunday 13 September 2009 16:27:28 Ed Greshko wrote:
 Anne Wilson wrote:
  On Sunday 13 September 2009 07:11:24 Tim wrote:
  On Sat, 2009-09-12 at 16:28 -0700, Daniel B. Thurman wrote:
  Can someone direct me how to set a system-wide
  UTF-8 locales?
 
  That's the default (using UTF-8 encoding for most, if not all, locales).
  What do you get if you type the locale command into a terminal?
 
  [...@suspishus ~]$ locale
  LANG=en_AU.UTF-8
  LC_CTYPE=en_AU.UTF-8
  LC_NUMERIC=en_AU.UTF-8
  LC_TIME=en_AU.UTF-8
  LC_COLLATE=en_AU.UTF-8
  LC_MONETARY=en_AU.UTF-8
  LC_MESSAGES=en_AU.UTF-8
  LC_PAPER=en_AU.UTF-8
  LC_NAME=en_AU.UTF-8
  LC_ADDRESS=en_AU.UTF-8
  LC_TELEPHONE=en_AU.UTF-8
  LC_MEASUREMENT=en_AU.UTF-8
  LC_IDENTIFICATION=en_AU.UTF-8
  LC_ALL=
 
  Hmm - on install I marked everything as English-British.  system-config-
  language says that my language is English|-British, but the 'locale'
  command marks everything as en_US.  Any ideas?
 
  Anne
 
 The only time I've ever seen that happen is when I've logged in from the
 console and language drop down box in the lower left was set to English
 (United States) and I failed to notice.
 
Nothing like that.  I don't have other locales installed, so I don't have the 
icon for changing them, and I've checked everything I can think of in KDE 
settings, not that I think they should affect this.

Anne
-- 
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase


signature.asc
Description: This is a digitally signed message part.
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: F11: UTF-8 Locale issue

2009-09-13 Thread Tim
On Sun, 2009-09-13 at 09:50 +0100, Anne Wilson wrote:
 Hmm - on install I marked everything as English-British.
 system-config-language says that my language is English|-British, but
 the 'locale' command marks everything as en_US.  Any ideas?

In what way did you do that marking?  Adding packages, or setting some
language preferences?

-- 

The gates in my computer are AND, OR and NOT; they are not Bill.


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F11: UTF-8 Locale issue

2009-09-13 Thread Ed Greshko
Anne Wilson wrote:
 On Sunday 13 September 2009 16:27:28 Ed Greshko wrote:
   
 Anne Wilson wrote:
 
 On Sunday 13 September 2009 07:11:24 Tim wrote:
   
 On Sat, 2009-09-12 at 16:28 -0700, Daniel B. Thurman wrote:
 
 Can someone direct me how to set a system-wide
 UTF-8 locales?
   
 That's the default (using UTF-8 encoding for most, if not all, locales).
 What do you get if you type the locale command into a terminal?

 [...@suspishus ~]$ locale
 LANG=en_AU.UTF-8
 LC_CTYPE=en_AU.UTF-8
 LC_NUMERIC=en_AU.UTF-8
 LC_TIME=en_AU.UTF-8
 LC_COLLATE=en_AU.UTF-8
 LC_MONETARY=en_AU.UTF-8
 LC_MESSAGES=en_AU.UTF-8
 LC_PAPER=en_AU.UTF-8
 LC_NAME=en_AU.UTF-8
 LC_ADDRESS=en_AU.UTF-8
 LC_TELEPHONE=en_AU.UTF-8
 LC_MEASUREMENT=en_AU.UTF-8
 LC_IDENTIFICATION=en_AU.UTF-8
 LC_ALL=
 
 Hmm - on install I marked everything as English-British.  system-config-
 language says that my language is English|-British, but the 'locale'
 command marks everything as en_US.  Any ideas?

 Anne
   
 The only time I've ever seen that happen is when I've logged in from the
 console and language drop down box in the lower left was set to English
 (United States) and I failed to notice.

 
 Nothing like that.  I don't have other locales installed, so I don't have the 
 icon for changing them, and I've checked everything I can think of in KDE 
 settings, not that I think they should affect this.

 Anne
   
Strange  I assume that /etc/sysconfig/i18n has LANG=en_GB.UTF-8

-- 
O'Reilly's Law of the Kitchen: Cleanliness is next to impossible Guess
Who! http://tinyurl.com/mc4xe7



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: F11: UTF-8 Locale issue

2009-09-13 Thread Daniel B. Thurman
On 09/12/09 23:11, Tim wrote:
 On Sat, 2009-09-12 at 16:28 -0700, Daniel B. Thurman wrote:
   
 Can someone direct me how to set a system-wide
 UTF-8 locales?
 
 That's the default (using UTF-8 encoding for most, if not all, locales).
 What do you get if you type the locale command into a terminal?

 [...@suspishus ~]$ locale
 LANG=en_AU.UTF-8
 LC_CTYPE=en_AU.UTF-8
 LC_NUMERIC=en_AU.UTF-8
 LC_TIME=en_AU.UTF-8
 LC_COLLATE=en_AU.UTF-8
 LC_MONETARY=en_AU.UTF-8
 LC_MESSAGES=en_AU.UTF-8
 LC_PAPER=en_AU.UTF-8
 LC_NAME=en_AU.UTF-8
 LC_ADDRESS=en_AU.UTF-8
 LC_TELEPHONE=en_AU.UTF-8
 LC_MEASUREMENT=en_AU.UTF-8
 LC_IDENTIFICATION=en_AU.UTF-8
 LC_ALL=
   
$ locale
LANG=C
LC_CTYPE=C
LC_NUMERIC=C
LC_TIME=C
LC_COLLATE=C
LC_MONETARY=C
LC_MESSAGES=C
LC_PAPER=C
LC_NAME=C
LC_ADDRESS=C
LC_TELEPHONE=C
LC_MEASUREMENT=C
LC_IDENTIFICATION=C
LC_ALL=

I manually typed in: system-config-language
and the default was the first top item in the
list, i.e. Afrikaans (South America) and this
was somehow the default set during installation
of F11 even though the installer told me it was
correctly set to English (USA).

In any case, I do not understand why I have the
C locale...

Thanks-
Dan

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F11: UTF-8 Locale issue

2009-09-13 Thread Daniel B. Thurman
On 09/13/09 08:58, Daniel B. Thurman wrote:
 On 09/12/09 23:11, Tim wrote:
   
 On Sat, 2009-09-12 at 16:28 -0700, Daniel B. Thurman wrote:
   
 
 Can someone direct me how to set a system-wide
 UTF-8 locales?
 
   
 That's the default (using UTF-8 encoding for most, if not all, locales).
 What do you get if you type the locale command into a terminal?

 [...@suspishus ~]$ locale
 LANG=en_AU.UTF-8
 LC_CTYPE=en_AU.UTF-8
 LC_NUMERIC=en_AU.UTF-8
 LC_TIME=en_AU.UTF-8
 LC_COLLATE=en_AU.UTF-8
 LC_MONETARY=en_AU.UTF-8
 LC_MESSAGES=en_AU.UTF-8
 LC_PAPER=en_AU.UTF-8
 LC_NAME=en_AU.UTF-8
 LC_ADDRESS=en_AU.UTF-8
 LC_TELEPHONE=en_AU.UTF-8
 LC_MEASUREMENT=en_AU.UTF-8
 LC_IDENTIFICATION=en_AU.UTF-8
 LC_ALL=
   
 
 $ locale
 LANG=C
 LC_CTYPE=C
 LC_NUMERIC=C
 LC_TIME=C
 LC_COLLATE=C
 LC_MONETARY=C
 LC_MESSAGES=C
 LC_PAPER=C
 LC_NAME=C
 LC_ADDRESS=C
 LC_TELEPHONE=C
 LC_MEASUREMENT=C
 LC_IDENTIFICATION=C
 LC_ALL=

 I manually typed in: system-config-language
 and the default was the first top item in the
 list, i.e. Afrikaans (South America) and this
 was somehow the default set during installation
 of F11 even though the installer told me it was
 correctly set to English (USA).

 In any case, I do not understand why I have the
 C locale...

 Thanks-
 Dan
Oops - I meant: Afrikaans (South AFRICA) - sigh.


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F11: UTF-8 Locale issue

2009-09-13 Thread Anne Wilson
On Sunday 13 September 2009 16:42:16 Ed Greshko wrote:
 
 Strange  I assume that /etc/sysconfig/i18n has LANG=en_GB.UTF-8
 
cat /etc/sysconfig/i18n
LANG=en_GB.UTF-8
SYSFONT=latarcyrheb-sun16

Anne
-- 
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase


signature.asc
Description: This is a digitally signed message part.
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: F11: UTF-8 Locale issue

2009-09-13 Thread Anne Wilson
On Sunday 13 September 2009 16:40:42 Tim wrote:
 On Sun, 2009-09-13 at 09:50 +0100, Anne Wilson wrote:
  Hmm - on install I marked everything as English-British.
  system-config-language says that my language is English|-British, but
  the 'locale' command marks everything as en_US.  Any ideas?
 
 In what way did you do that marking?  Adding packages, or setting some
 language preferences?
 
Neither.  By choosing English British at install, for language and keyboard, 
and by checking in system-config-languages.  Nothing else at all.  I have no 
other locales installed.

Anne
-- 
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase


signature.asc
Description: This is a digitally signed message part.
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: F11: UTF-8 Locale issue

2009-09-13 Thread Daniel B. Thurman
On 09/13/09 09:03, Daniel B. Thurman wrote:
 On 09/13/09 08:58, Daniel B. Thurman wrote:
   
 On 09/12/09 23:11, Tim wrote:
   
 
 On Sat, 2009-09-12 at 16:28 -0700, Daniel B. Thurman wrote:
   
 
   
 Can someone direct me how to set a system-wide
 UTF-8 locales?
 
   
 
 That's the default (using UTF-8 encoding for most, if not all, locales).
 What do you get if you type the locale command into a terminal?

 [...@suspishus ~]$ locale
 LANG=en_AU.UTF-8
 LC_CTYPE=en_AU.UTF-8
 LC_NUMERIC=en_AU.UTF-8
 LC_TIME=en_AU.UTF-8
 LC_COLLATE=en_AU.UTF-8
 LC_MONETARY=en_AU.UTF-8
 LC_MESSAGES=en_AU.UTF-8
 LC_PAPER=en_AU.UTF-8
 LC_NAME=en_AU.UTF-8
 LC_ADDRESS=en_AU.UTF-8
 LC_TELEPHONE=en_AU.UTF-8
 LC_MEASUREMENT=en_AU.UTF-8
 LC_IDENTIFICATION=en_AU.UTF-8
 LC_ALL=
   
 
   
 $ locale
 LANG=C
 LC_CTYPE=C
 LC_NUMERIC=C
 LC_TIME=C
 LC_COLLATE=C
 LC_MONETARY=C
 LC_MESSAGES=C
 LC_PAPER=C
 LC_NAME=C
 LC_ADDRESS=C
 LC_TELEPHONE=C
 LC_MEASUREMENT=C
 LC_IDENTIFICATION=C
 LC_ALL=

 I manually typed in: system-config-language
 and the default was the first top item in the
 list, i.e. Afrikaans (South America) and this
 was somehow the default set during installation
 of F11 even though the installer told me it was
 correctly set to English (USA).

 In any case, I do not understand why I have the
 C locale...

 Thanks-
 Dan
 
 Oops - I meant: Afrikaans (South AFRICA) - sigh.

   
I did not notice this before, but thought I'd post it here:

$ system-config-language

(system-config-language:14713): Gdk-CRITICAL **:
gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed

(system-config-language:14713): Gdk-CRITICAL **:
gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F11: UTF-8 Locale issue

2009-09-13 Thread Ed Greshko
Anne Wilson wrote:
 On Sunday 13 September 2009 16:42:16 Ed Greshko wrote:
   
 Strange  I assume that /etc/sysconfig/i18n has LANG=en_GB.UTF-8

 
 cat /etc/sysconfig/i18n
 LANG=en_GB.UTF-8
 SYSFONT=latarcyrheb-sun16

   
That is weird  I love a mystery.

So, when you issue a locale from konsole it shows up as all
en_US.UTF-8.  How about if you su - and then try locale?

Oh, BTW, in an earlier message you saidinstall I marked everything
as English-British. system-config-language says that my language is
English|-British, but the 'locale' command marks everything as en_US. 
Does that include LANG?

Ed




signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: F11: UTF-8 Locale issue

2009-09-13 Thread Tim
Tim:
 In what way did you do that marking?  Adding packages, or setting
 some language preferences?

Anne Wilson:
 Neither.  By choosing English British at install, for language and
 keyboard, and by checking in system-config-languages.  Nothing else at
 all.  I have no other locales installed.

I wonder if that merely sets the locale used by the install routine
(rather like network settings set during install only pertain to
settings used while installing).

-- 

The gates in my computer are AND, OR and NOT; they are not Bill.


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F11: UTF-8 Locale issue

2009-09-13 Thread Tim
On Sun, 2009-09-13 at 08:58 -0700, Daniel B. Thurman wrote:
 I manually typed in: system-config-language
 and the default was the first top item in the
 list, i.e. Afrikaans (South America) and this
 was somehow the default set during installation
 of F11 even though the installer told me it was
 correctly set to English (USA).

Two things spring to mind:

As I said to Anne, perhaps the installation option only sets settings
pertaining to doing the installation, not what happens with the new
system.

Have you, now, changed the defaults, and did it work?

-- 

The gates in my computer are AND, OR and NOT; they are not Bill.


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F11: UTF-8 Locale issue

2009-09-13 Thread Daniel B. Thurman
On 09/13/09 19:06, Tim wrote:
 On Sun, 2009-09-13 at 08:58 -0700, Daniel B. Thurman wrote:
   
 I manually typed in: system-config-language
 and the default was the first top item in the
 list, i.e. Afrikaans (South America) and this
 was somehow the default set during installation
 of F11 even though the installer told me it was
 correctly set to English (USA).
 
 Two things spring to mind:

 As I said to Anne, perhaps the installation option only sets settings
 pertaining to doing the installation, not what happens with the new
 system.

 Have you, now, changed the defaults, and did it work?
   
Please bear with me if I seem dense. What do you
mean by if I have changed the defaults???

What is the defaults? How can I tell.

I already said that when I first started system.config.language
that the default was set to Afrikaan or at least this item
was highlighted, assumed that this default is wrong and
proceeded to change this item to: English (USA), and closed
the program.

Did it work?

I am still seeing the following in the system logs:

Sep 13 08:46:14 hostname ntfs-3g[7707]: Could not convert filename to
Unicode: 'Clavier-B�chlein F�r Anna Maguire': Invalid or incomplete
multibyte or wide character

I do not see this sort of error message in F9, using the
same exact filesystem drive/partition. I compared F9 
F11 /etc/sysconfig/i18n as follows:

In F9:
LANG=en_US.utf8
SYSFONT=latarcyrheb-sun16

In F11:
# LANG=C considerably speeds up boot (measured 5sec) -- bernie
LANG=en_US.UTF-8
SYSFONT=latarcyrheb-sun16

They are pretty much same except for that weird commented
out LANG=C line, for which I never put there.

It is possible that the system log message is not
a locale issue and points to something else,
I dunno...


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F11: UTF-8 Locale issue

2009-09-13 Thread Daniel B. Thurman
On 09/13/09 19:34, Daniel B. Thurman wrote:
 On 09/13/09 19:06, Tim wrote:
   
 On Sun, 2009-09-13 at 08:58 -0700, Daniel B. Thurman wrote:
   
 
 I manually typed in: system-config-language
 and the default was the first top item in the
 list, i.e. Afrikaans (South America) and this
 was somehow the default set during installation
 of F11 even though the installer told me it was
 correctly set to English (USA).
 
   
 Two things spring to mind:

 As I said to Anne, perhaps the installation option only sets settings
 pertaining to doing the installation, not what happens with the new
 system.

 Have you, now, changed the defaults, and did it work?
   
 
 Please bear with me if I seem dense. What do you
 mean by if I have changed the defaults???

 What is the defaults? How can I tell.

 I already said that when I first started system.config.language
 that the default was set to Afrikaan or at least this item
 was highlighted, assumed that this default is wrong and
 proceeded to change this item to: English (USA), and closed
 the program.

 Did it work?

 I am still seeing the following in the system logs:

 Sep 13 08:46:14 hostname ntfs-3g[7707]: Could not convert filename to
 Unicode: 'Clavier-B�chlein F�r Anna Maguire': Invalid or incomplete
 multibyte or wide character

 I do not see this sort of error message in F9, using the
 same exact filesystem drive/partition. I compared F9 
 F11 /etc/sysconfig/i18n as follows:

 In F9:
 LANG=en_US.utf8
 SYSFONT=latarcyrheb-sun16

 In F11:
 # LANG=C considerably speeds up boot (measured 5sec) -- bernie
 LANG=en_US.UTF-8
 SYSFONT=latarcyrheb-sun16

 They are pretty much same except for that weird commented
 out LANG=C line, for which I never put there.

 It is possible that the system log message is not
 a locale issue and points to something else,
 I dunno...
   
I forgot to add:

$ locale
LANG=C
LC_CTYPE=C
LC_NUMERIC=C
LC_TIME=C
LC_COLLATE=C
LC_MONETARY=C
LC_MESSAGES=C
LC_PAPER=C
LC_NAME=C
LC_ADDRESS=C
LC_TELEPHONE=C
LC_MEASUREMENT=C
LC_IDENTIFICATION=C
LC_ALL=


This does not seem to change at all, or is it
supposed to after running system.config.language?

Thanks!
Dan

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F11: UTF-8 Locale issue

2009-09-13 Thread Ed Greshko
Daniel B. Thurman wrote:
 On 09/13/09 19:06, Tim wrote:
 On Sun, 2009-09-13 at 08:58 -0700, Daniel B. Thurman wrote:

 I manually typed in: system-config-language and the default was
 the first top item in the list, i.e. Afrikaans (South America)
 and this was somehow the default set during installation of F11
 even though the installer told me it was correctly set to English
 (USA).

 Two things spring to mind:

 As I said to Anne, perhaps the installation option only sets
 settings pertaining to doing the installation, not what happens
 with the new system.

 Have you, now, changed the defaults, and did it work?

 Please bear with me if I seem dense. What do you mean by if I have
 changed the defaults???

 What is the defaults? How can I tell.
The system wide default is held in /etc/sysconfig/i18n and seems to be
en_US.UTF-8.

 I already said that when I first started system.config.language that
 the default was set to Afrikaan or at least this item was
 highlighted, assumed that this default is wrong and proceeded to
 change this item to: English (USA), and closed the program.

 Did it work?

 I am still seeing the following in the system logs:

 Sep 13 08:46:14 hostname ntfs-3g[7707]: Could not convert filename
 to Unicode: 'Clavier-B�chlein F�r Anna Maguire': Invalid or
 incomplete multibyte or wide character

 I do not see this sort of error message in F9, using the same exact
 filesystem drive/partition. I compared F9  F11 /etc/sysconfig/i18n
 as follows:

 In F9: LANG=en_US.utf8 SYSFONT=latarcyrheb-sun16

 In F11: # LANG=C considerably speeds up boot (measured 5sec) --
 bernie LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16

 They are pretty much same except for that weird commented out LANG=C
 line, for which I never put there.

 It is possible that the system log message is not a locale issue
 and points to something else, I dunno...


Howeveryou've said that:

$ locale
LANG=C
LC_CTYPE=C
LC_NUMERIC=C
LC_TIME=C
LC_COLLATE=C
LC_MONETARY=C
LC_MESSAGES=C
LC_PAPER=C
LC_NAME=C
LC_ADDRESS=C
LC_TELEPHONE=C
LC_MEASUREMENT=C
LC_IDENTIFICATION=C
LC_ALL=

Clearly a LANG=C will get you the problems with multi-byte characters.

So, yes, you need to track down why/how your LANG is getting set as it
is.  I can't think of how that would happen

But, I would probably delete that commented out line from
/etc/sysconfig/i18n just to make sure something weird isn't going on
with that line. If you didn't put it there...it begs the
question who did? Who is bernie?

You may even consider booting into run level 3 and then seeing if your
environment is LANG=C before running startx.




-- 
We don't care how they do it in New York. Guess Who!
http://tinyurl.com/mc4xe7




signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: F11: UTF-8 Locale issue

2009-09-13 Thread Tony Nelson
On 09-09-13 22:49:06, Ed Greshko wrote:
 Daniel B. Thurman wrote:

  I already said that when I first started system.config.language 
  that the default was set to Afrikaan or at least this item was
  highlighted, assumed that this default is wrong and proceeded to
  change this item to: English (USA), and closed the program.

That suggests that system-config-language could not find any default.

 ...
  ... I compared F9  F11 /etc/sysconfig/i18n as follows:
 
  In F9: LANG=en_US.utf8 SYSFONT=latarcyrheb-sun16
 
  In F11: # LANG=C considerably speeds up boot (measured 5sec) --
  bernie LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16
 
  They are pretty much same except for that weird commented out 
  LANG=C line, for which I never put there.
 
  It is possible that the system log message is not a locale issue
  and points to something else, I dunno...

 ...
 But, I would probably delete that commented out line from
 /etc/sysconfig/i18n just to make sure something weird isn't going on
 with that line. If you didn't put it there...it begs the
 question who did? Who is bernie?

I think that the commented out line should be made like the one from 
F9, as currently no default LANG is being set.  I could imagine such a
thing having come from Rawhide at one time.  Check for any .rpmnew 
files like /etc/sysconfig/i18n.rpmnew.

-- 

TonyN.:'   mailto:tonynel...@georgeanelson.com
  '  http://www.georgeanelson.com/

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


F11: UTF-8 Locale issue

2009-09-12 Thread Daniel B. Thurman

Seems to me that the locale is messed up for me.

I have a bunch of files that uses the UTF-8 locale
and my system reporting locale problems to my
system logs.

Can someone direct me how to set a system-wide
UTF-8 locales?

Thanks!
Dan

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F11: UTF-8 Locale issue

2009-09-12 Thread Ed Greshko
Daniel B. Thurman wrote:
 Seems to me that the locale is messed up for me.

 I have a bunch of files that uses the UTF-8 locale
 and my system reporting locale problems to my
 system logs.

 Can someone direct me how to set a system-wide
 UTF-8 locales?

   
The default system LANG (from which the various LC_ environment
variables are derived) is held in /etc/sysconfig/i18n.

FWIW, there is no such thing as a UTF-8 locale.  UTF-8 is a character
encoding format. 

Not knowing what errors are being reported would limit the ability to
suggest a resolution.

-- 
Eureka, he said. Going to have a bath then? -- Philosophy in action
(Terry Pratchett, Small Gods) Guess Who! http://tinyurl.com/mc4xe7



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines