delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/07/11:05:22

X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f
Date: Tue, 7 Aug 2001 10:05:14 -0500
From: JT Williams <jeffw AT darwin DOT sfbr DOT org>
To: Juan Manuel Guerrero <ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: gettext port
Message-ID: <20010807100514.A11378@kendall.sfbr.org>
Mail-Followup-To: Juan Manuel Guerrero <ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De>,
djgpp-workers AT delorie DOT com
References: <378E2A966FC AT HRZ1 DOT hrz DOT tu-darmstadt DOT de>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <378E2A966FC@HRZ1.hrz.tu-darmstadt.de>; from ST001906@HRZ1.HRZ.TU-Darmstadt.De on Mon, Aug 06, 2001 at 07:22:00PM +0200
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

-: The interesting variable is LANG. This variable may contain an alias like
-: es for spanish or de_CH for german spoken in switzerland. This alias is
-: resolved into a codepage using charset.alias. At the same time LANG can
-: be set directely to a codepage.

-: To solve your difficulty I would suggest the following lines for your
-: djgpp.env:

-: +LANG=CP437
-: +LANGUAGE=de
   ^

This does the trick; `sed --version' now displays text correctly
in de, sv (the only ones I tried) using cp437 (and cp850).  Thanks!

So, if I understand this correctly, when I set LANG=de it was effectively
like setting LANG=ISO-8859-1 (because the de text was prepared with that
codepage)?  So I was telling NLS that my current codepage was ISO-8859-1
when it was not?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019