On Wed, Mar 06, 2002 at 02:51:18PM +0100, Olivier Chapuis wrote: > On Wed, Mar 06, 2002 at 02:35:01PM +0100, Dominik Vogt wrote: > > On Wed, Mar 06, 2002 at 01:41:19PM +0100, Olivier Chapuis wrote: > > > On Wed, Mar 06, 2002 at 11:01:36AM +0100, Dominik Vogt wrote: > > > > What does this message mean: > > > > > > > > [FVWM][FInitCharset]: WARNNING -- Cannot set locale > > > > 1796553776 > > > > > > > > > > It means that your 'echo $LC_CTYPE' locale is not supported > > > by your libc I think. Do you have a similar message with > > > 2.4.6 (recompiled after my last commit)? > > > > I'll check later. > > > > > The locale is set > > > in a different way. What gives 'echo $LC_CTYPE' and 'locale'? > > > > > > $ echo $LC_CTYPE > > de_DE > > $ locale > > LANG=en_US > > LC_CTYPE="en_US" > > LC_NUMERIC="en_US" > > LC_TIME="en_US" > > LC_COLLATE="en_US" > > LC_MONETARY="en_US" > > LC_MESSAGES="en_US" > > LC_PAPER="en_US" > > LC_NAME="en_US" > > LC_ADDRESS="en_US" > > LC_TELEPHONE="en_US" > > LC_MEASUREMENT="en_US" > > LC_IDENTIFICATION="en_US" > > LC_ALL=en_US > > > > Funny. locale and LC_CTYPE don't agree about the value of > > LC_CTYPE. > > > > As LC_ALL is set I think this is normal as LC_ALL should override > the other locale env var and locale take this in account. > As 2.4.6 use setlocale(LC_CTYPE, "") to set the locale I conjecture > that you will have no warnning message with 2.4.6.
Here at home I don't get the message at all, not with 2.4.6 and not with 2.5.1 (same setup). :-P > 2.5.1 use setlocale(LC_CTYPE, getenv("LC_CTYPE")) to setlocale > it seems to me that you have no "de" locale on your machine: > > [EMAIL PROTECTED] olivier]$ rpm -qa |grep locale > locales-he-2.3-3mdk > locales-ar-2.3-3mdk > locales-2.3-3mdk > locales-en-2.3-3mdk > locales-fr-2.3-3mdk > locales-ja-2.3-3mdk > locales-ru-2.3-3mdk SuSE does not have separate packets to install the locales. They probably install every locale from the CD. Bye Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]