Bug 67914 - Finnish locale support missing
Summary: Finnish locale support missing
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: XFree86   
(Show other bugs)
Version: limbo
Hardware: i386 Linux
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact: David Lawrence
Depends On:
Blocks: 67217
TreeView+ depends on / blocked
Reported: 2002-07-04 09:02 UTC by Markku Kolkka
Modified: 2007-04-18 16:43 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-08-15 18:14:24 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Markku Kolkka 2002-07-04 09:02:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020625

Description of problem:
I chose Finnish as the default language when installing, now most X programs
give warnings like:

# rhn_register

(rhn_register:27967): Gdk-WARNING **: locale not supported by Xlib

(rhn_register:27967): Gdk-WARNING **: can not set locale modifiers

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Run any GTK-based program

Additional info:

Comment 1 Bill Nottingham 2002-07-08 03:51:13 UTC
What language is in /etc/sysconfig/i18n?

Comment 2 Mike A. Harris 2002-07-10 04:42:37 UTC
Please provide the requested information so this problem can be looked into.

Comment 3 Markku Kolkka 2002-07-10 08:27:12 UTC

Comment 4 Markku Kolkka 2002-07-10 08:32:53 UTC
Using non-UTF-8 locale (fi_FI@euro) makes the system work a lot better.

Comment 5 Mike A. Harris 2002-08-06 04:22:29 UTC
If you change to:

export LANG=fi_FI.UTF-8

instead of the @euro... does it work ok?

Comment 6 Mike A. Harris 2002-08-06 04:35:11 UTC
Please respond ASAP.  If fi_FI.UTF-8 works ok, I can make an alias
to fix this.

Comment 7 Mike A. Harris 2002-08-06 05:25:21 UTC
Patch applied to XFree86 4.2.0-60.1 in rawhide to workaround this issue.
In addition to trying out the above and reporting back, please try the
new X build as well.

Awaiting confirmation fix works.

Comment 8 Markku Kolkka 2002-08-06 07:57:55 UTC
LANG=fi_FI.UTF-8 gives the same warnings on XFree86 4.2.0-56 (Limbo2):

$ up2date
Adding cert <X509Name object '/C=US/ST=North Carolina/L=Research Triangle
Park/O=Red Hat, Inc./OU=Red Hat Network Services/CN=RHNS Certificate

(up2date:1159): Gdk-WARNING **: locale not supported by Xlib

(up2date:1159): Gdk-WARNING **: can not set locale modifiers

** (up2date:1159): WARNING **: could not find handler `onRegPackagePageBack'

Comment 9 Mike A. Harris 2002-08-08 03:44:47 UTC
How exactly was LANG=fi_FI.UTF-8 set?
Change it in /etc/sysconfig/i18n then reboot, and try it.
Does that work with the latest packages?

Comment 10 Markku Kolkka 2002-08-08 08:33:22 UTC
LANG is set in /etc/sysconfig/i18n, I'm running the latest version available
through up2date (XFree86-4.2.0-57.1) and the problem remains.

Comment 11 Mike A. Harris 2002-08-08 08:37:07 UTC
ARGH... The patch I added was in the src.rpm, but not actually getting
applied to the build.  I've added the necessary magic and am building
a new package.

4.2.0-60.4 and later should have the new aliases.  Please try that
version once it hits rawhide/up2date

Sorry for the goofup.

Comment 12 Mike A. Harris 2002-08-10 06:07:14 UTC
It's in rawhide now.

Comment 13 Mike A. Harris 2002-08-11 10:09:41 UTC
Somehow the package got changed to VFlib2...  changing back to XFree86

Comment 14 Markku Kolkka 2002-08-12 12:10:05 UTC
I upgraded to XFree86* version 4.2.0-60.4 from Rawhide, but emacs, up2date etc.
still give the same "locale not supported by Xlib" warnings.

Comment 15 Mike A. Harris 2002-08-15 17:22:52 UTC
Xlib does not support locale modifiers such as @euro, and wont likely
until some point in the future.  It's still unimplemented in CVS, and
doesn't appear on any published roadmaps.

So technically it isn't really a bug, it's an unimplemented feature.

Our installer, etc should not IMHO choose locale settings which are

I'm not sure what the proper solution is other than implementing
locale modifier support in Xlib, which is a bit over my head currently.

Comment 16 Markku Kolkka 2002-08-15 17:39:30 UTC
I'm currently _not_ using @euro locale modifier, the locale is fi_FI.UTF8.
Locale fi_FI@euro works without warnings, the problem is with _UTF8_ specifier,
not @euro.

Comment 17 Mike A. Harris 2002-08-15 18:06:21 UTC
My *point*, is that your bug report clearly shows:

# rhn_register

(rhn_register:27967): Gdk-WARNING **: locale not supported by Xlib

(rhn_register:27967): Gdk-WARNING **: can not set locale modifiers

*THAT* is what is unsupported by XFree86, and wont be for this release.

Comment 18 Markku Kolkka 2002-08-15 18:14:18 UTC
I had another look at my /etc/sysconfig/i18n, because I had to install limbo2 by
upgrading from 7.3 (#68314) and the file is different from the one created by
Limbo1 installer. I commented out "CHARSET=8859-15" (left from 7.3?) and now the
warnings are gone.

Comment 19 Mike A. Harris 2002-08-15 19:11:24 UTC
Closing as RAWHIDE

Note You need to log in before you can comment on or make changes to this bug.