Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-23-2005, 10:06 PM   #1
Senior Member
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
how do I meet my locale constraints?

STATUS: solved
fixed by myself. In .Xdefaults, setting XTerm.VT100.eightBitInput: false and .eightBitControl: true (see man xterm) does the trick. Remember to xrdb -merge ~/.Xdefaults


locales bother me. While I like the idea about being able to view glyphs from *any* alphabet (even klingon ) (IOW, what unicode promises), I probably won't need it. Also, ISO-8859-1 is still going strong.

But I'm besides my point.

My question is simply this:
Which locale settings satisfy the following constraints:

ja = japanese
iso = iso-8859-1 (or characters in it, excluding ascii; IOW, 8-bit chars)
I/O = input/output (for, mostly, `viewing' values of output)
emacs = not XEmacs or x-anything-else. Plain ol' emacs.

brief comment:
I want to read/write stuff in danish, english, german (all iso) and japanese, respectively, but I want `my computer' to be in english. That's to say that I won't be needing non-english man pages or dialog texts (for example), but I'd like, say, spell-checking for all languages. Capice?

Required, not working (simultaneously(*)):
iso I/O in emacs.
have alt-$CHAR (for CHAR in b f backspace and more) work in bash.
not have perl generate a startup warning message (see below)

Required, already working:
ja/iso I/O in firefox
ja/iso I/O in gedit
ja/iso O in elinks (kana gets romaji'ized--sooo cool )

Nice to have:
ja I/O in irssi (iso I/O already works through X w. compose-key(**))
ja/iso I in elinks
ja I/O in OOo
iso I/O in bash


(*) with no locale, alt-chars work and perl doesn't generate a warning, but emacs doesn't show iso chars. With LC_ALL=en_GB.ISO-8859-1, perl doesn't generate a warning and emacs shows iso chars, but alt-chars don't work in bash. As an added bonus, bash can show iso chars. With LC_ALL=iso_8859_1, emacs and shell are okay, but perl shows the following warning:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = "iso_8859_1",
        LANG = (unset)
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
with LC_ALL=C shell and perl works, but not emacs.

Assuming there is a way to satisfy all three, what is it?

(**) I've heard that compose-key isn't only for X. If that's true, and you just happen to know how to set the `right-click-key' to be a compose-key in the virtual console, I'd be happy to learn how

Thanks for your attention --Jonas

Last edited by jonaskoelker; 08-31-2005 at 09:55 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10 03-24-2013 09:35 PM
How to change the locale by setting the system default locale letdoit Slackware 6 08-18-2011 04:34 AM
"locale not supported by Xlib, locale set to C" Irad Linux - Software 3 06-25-2006 04:59 PM
File size constraints on ISO jonthelam Linux - General 2 09-29-2004 06:49 PM
SuSe 9.1 Password constraints cl2imson Linux - Newbie 3 05-19-2004 11:24 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:58 PM.

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