Article View: comp.unix.programmer
Article #3811Re: Example of gettext() program without autoconf
From: Sven Mascheck
Date: Tue, 16 Jan 2001 03:52
Date: Tue, 16 Jan 2001 03:52
22 lines
2072 bytes
2072 bytes
Charlie Zender <zender@uci.edu> wrote:
> Currently I am testing my i18n features by invoking, e.g., export
> LANG=es at the command line. My spanish translation shows up fine, but
> it uses, i think, the default RedHat 7 character set. How do I change
> the character set in my xterms to be, say, iso-8859 so that things like
> accented characters have a better chance of showing up correctly?
> export LANG=es changes all of the LC_* tokens, but apparently the
> xterm still uses the ascii character set.
LC_CTYPE and LC_MESSAGES are of main interest for you
but they _might_ need a slightly different syntax (es vs es_ES).
Inspect your fonts with xfd(1) and call xterm(1) with an appropriate one.
Find out about the location of your fonts via the fontpath, xset(1).
I once collected facts and hints for solving problems about the locale:
<URL:http://www.uni-ulm.de/~s_smasch/Locale/>
(not struggling for completeness but just for inspiration)
f'up
Sven
Technical Details
Message-ID:
<3a63c58b@news.uni-ulm.de>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.cwix.com!EU.net!blackbush.xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!not-for-mailReferences:
<3A58033D.1040505@uci.edu> <izn66jlc4qb.fsf@iki.fi> <3A623AF2.6090302@uci.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc89c,6c31fbd9f931131d
X-Google-Attributes: gidfc89c,public
X-Google-Thread: 1025b4,6c31fbd9f931131d
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 2001-01-15 19:54:05 PST
Sender: Sven Mascheck <s_smasch@wega-fddi2.rz.uni-ulm.de>
Message-ID: <3a63c58b@news.uni-ulm.de>
From: Sven Mascheck <Sven.Mascheck@student.uni-ulm.de>
Subject: Re: Example of gettext() program without autoconf
Newsgroups: comp.unix.programmer,gnu.misc.discuss
Followup-To: comp.unix.programmer
References: <3A58033D.1040505@uci.edu> <izn66jlc4qb.fsf@iki.fi> <3A623AF2.6090302@uci.edu>
Organization: united xpiloteers
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (SunOS/5.8 (sun4u))
NNTP-Posting-Host: wega-fddi2.rz.uni-ulm.de
Date: 16 Jan 2001 04:52:43 +0100
X-Trace: 16 Jan 2001 04:52:43 +0100, wega-fddi2.rz.uni-ulm.de
Lines: 22
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.cwix.com!EU.net!blackbush.xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!not-for-mail