From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Charset problem Date: Sat, 15 Sep 2007 13:43:35 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87lkb8a908.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1189831243 5605 80.91.229.12 (15 Sep 2007 04:40:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Sep 2007 04:40:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 15 06:40:41 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IWPSO-0003KG-Mi for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Sep 2007 06:40:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IWPSN-0003Te-Q7 for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Sep 2007 00:40:35 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed0.kamp.net!newsfeed.kamp.net!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!138.199.65.86.MISMATCH!sn-xt-ams-06!sn-xt-ams-03!sn-ams!sn-feed-ams-01!sn-post-ams-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:rVpxDd30/gze+RJNEag6XDLt0jU= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 48 Original-Xref: shelby.stanford.edu gnu.emacs.help:152099 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47609 Archived-At: Christian Schröder writes: > Eli Zaretskii wrote: >> I think this is your problem, right there: on a Posix locale, Emacs >> disables all its automagic for non-ASCII characters, and expects you >> to tell it explicitly what to do, which is a pain. >> >> Can you set up an ISO-8859-1 or ISO-8859-10 locale? If not, why not? >> I'd expect that users in Germany use a German locale. > > As far as I know I have to set the "LANG" or "LC_CTYPE" environment > variable, or is there any other way to change the locale? > After setting LANG to "de_DE" (-> export LANG=de_DE) the output of "locale" > is as follows: > > LANG=de_DE > LC_CTYPE="de_DE" > LC_NUMERIC="de_DE" > LC_TIME="de_DE" > LC_COLLATE="de_DE" > LC_MONETARY="de_DE" > LC_MESSAGES="de_DE" > LC_PAPER="de_DE" > LC_NAME="de_DE" > LC_ADDRESS="de_DE" > LC_TELEPHONE="de_DE" > LC_MEASUREMENT="de_DE" > LC_IDENTIFICATION="de_DE" > LC_ALL= > > The locale "de_DE.ISO8859-15" (as Peter suggested) doesn't seem to be > available on my system. At least it is not in the list that "locale -a" > prints and no directory of this name exists under /usr/lib/locale. Depending on your Linux distro, the additional locale files may be in a separate package. On some systems, they even have C shared libraries with non POSIX/C support in different packages. It is also possible that you need to create the locale files. Unfortuatnely, as different Linux distros tend to do this in different ways, I can't be more specific other than to suggest you look through the packages that are not installed and see if anything looks relevant i.e. look for packages with terms like locale, makelocale etc. Tim -- tcross (at) rapttech dot com dot au