LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-14-2005, 01:00 PM   #1
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
diff setup on locale behavior (when using su as login)


Hi, i'm experiencing locale behavior differently when using the exactly same setup, thank you for helping in advance:

Background: have 2 acct, acctA and acctB, acctA uses LC_ALL en_US.UTF-8 setting, and acctB uses LC_ALL zh.TW.Big5 setting. if I wanna display chinese char (big5 code) while I'm in acctA, all I have to do is su acctB, and i can write chinese in app such as OO and such...


Problem: trying to display chinese char (big5 code) at xmms playlist correctly (this can only be done in acctB, and given the font was already changed within xmms under perference), instead of logging in and out, I try to change locale in acctA by issue export LCC_ALL=zh.TW.Big5, before play xmms. here's a interesting msg i get: when i do xmms&

Code:
Gdk-WARNING **: locale not supported by C library
playlist would only display part of chinese char
now... lets try acctB by issue: su acctB (follow by password), then do xmms&

i get:

Code:
The font "-adobe-helvetica-medium-r-*-*-8-*" does not support all the required character sets for the current locale "zh_TW.Big5"
  (Missing character set "BIG5-0")
The font "-default-ming-medium-r-normal-*-*-160-*-*-c-*-big5-0" does not support all the required character sets for the current locale "zh_TW.Big5"
  (Missing character set "ISO8859-1")
yet... i'm able to display chinese char correctly!!! wow... now what just happened?
i'm very confuse.

it seems like to me locale may not behave the same, if one change locale by doing: export LC_ALL=(lanaguage) and to do export LANG=(language)

compare to locale setting has been pre-coded within shell startup.


so my question is: are there extra steps to do, when changing locale, in order to have it behave the same as locale has been hardcoded during startup shell?


thank you
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
locale: Cannot Set LC_ALL to default locale: No such file or directory. asym Linux - General 11 10-24-2018 05:54 PM
Strange VSFTP Login Behavior clinger Linux - Networking 0 01-30-2005 06:49 PM
[TAB] compete behavior....diff between distro sirpelidor Linux - General 4 01-15-2005 11:04 AM
can't setup locale kpachopoulos Linux - Newbie 0 09-21-2004 01:43 PM
Strange re-login behavior NickC Mandriva 9 07-19-2004 11:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:15 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