LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-25-2006, 10:32 AM   #1
the bear
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Rep: Reputation: 2
locale not supported by C library


Hi, I need to run a gtk program in a UTF-8 locale. When i try to, I get the error:

Gtk-WARNING **: locale not supported by C library.
Using the fallback 'C' locale.

I have looked at other posts about this and have read a few different things (that I need to rebuild glibc or something like that. But I have a more conceptual question about this.

Does anyone know what the actual problem is rather than what I need to do to fix it (not that i dont want to know how to fix it too)? What I mean is, does this warning mean that i have a problem with my locales, gtk, ect.

If anyone could shed some light on the situation, I'd really appreciate it. Thanks!
 
Old 01-28-2006, 11:36 AM   #2
ocdj
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Rep: Reputation: 0
Possibly a superficial problem

From what it sounds like your computer may just be complaining about semantics... UTF-8 and standard 7-bit ASCII encode characters with exactly the same numeric values but glibc by default uses ASCII (as defined in c-cctype.c) to represent characters. So the problem seems to be that the files could be said to be in either encoding (since they are equivalent), UTF-8 is technically not ASCII and computers don't usually respect equivalence (it's either equal or it's an error in this case). So, changing c-ctype.c to use UTF-8 and recompiling glibc will fix the "problem" that technically isn't even one in the first place...
 
Old 04-03-2006, 11:16 AM   #3
the bear
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Original Poster
Rep: Reputation: 2
Sorry about the delayed response and thanks. a few minor changes and a recompile fixed the problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gtk-WARNING **: Locale not supported by C library alex.e.c Linux - Software 6 08-11-2014 02:55 PM
"locale not supported by Xlib, locale set to C" Irad Linux - Software 3 06-25-2006 03:59 PM
Help : X11 Locale Not Supported pokkie Linux - Software 1 08-02-2004 10:43 AM
Gdk-WARNING **: locale not supported by C library letdoit Slackware 1 05-28-2004 10:47 PM
NEdit: Xlib: locale C not supported slakmagik Linux - Software 2 04-07-2003 02:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration