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 To: Juan Manuel Guerrero Cc: djgpp-workers AT delorie DOT com Subject: Re: gettext port Message-ID: <20010807100514.A11378@kendall.sfbr.org> Mail-Followup-To: Juan Manuel Guerrero , djgpp-workers AT delorie DOT com References: <378E2A966FC AT HRZ1 DOT hrz DOT tu-darmstadt DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk -: 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?