www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/09/11:37:32

X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f
Date: Thu, 9 Aug 2001 10:22:27 -0500
From: JT Williams <jeffw AT darwin DOT sfbr DOT org>
To: djgpp-workers AT delorie DOT com
Cc: Juan Manuel Guerrero <ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De>
Subject: Re: gettext port
Message-ID: <20010809102227.B12885@kendall.sfbr.org>
Mail-Followup-To: djgpp-workers AT delorie DOT com,
Juan Manuel Guerrero <ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De>
References: <3938B62211A AT HRZ1 DOT hrz DOT tu-darmstadt DOT de>; <20010808130522 DOT A11991 AT kendall DOT sfbr DOT org> <3BD2A816355 AT HRZ1 DOT hrz DOT tu-darmstadt DOT de>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <3BD2A816355@HRZ1.hrz.tu-darmstadt.de>; from ST001906@HRZ1.HRZ.TU-Darmstadt.De on Thu, Aug 09, 2001 at 03:12:02PM +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

-: > This implies that if I set
-: >
-: > +LANG=de
-: > +LANGUAGE=de:es
-: > 
-: > *and* I prepare/select cp850 using DOS MODE, then `sed --version' should
-: > show correctly formatted german text.
-: 
-: Yes.

Results with stock djdev2.03 and DOS 5.0:

C:\> chcp
Active code page: 850
[confirmed by browsing an ascii table and seeing the cp850 charset]

C:\> set LANG=
C:\> set LANGUAGE=
C:\> sed-nls --version
[english messages displayed ok]

C:\> set LANG=de
C:\> set LANGUAGE=de:es
C:\> sed-nls --version
[German messages displayed, with _incorrect_ translation of non-US chars]

C:\> set LANG=850
C:\> set LANGUAGE=de:es
C:\> sed-nls --version
[German messages displayed, with *correct* chars]

At this point it dawns on me to check for `charset.alias' and it
is *missing*.  So I copy lib/charset.alias from gtxt037b.zip to
$DJDIR and, behold:

C:\> set LANG=de
C:\> set LANGUAGE=de:es
C:\> sed-nls --version
[German messages displayed, with _correct_ chars]

I probably lost my copy of `charset.alias' a frenzy of installation,
hacking, and reinstallation.  Perhaps (a version of) `charset.alias'
should be included with any NLS-capable package?

- Raw text -


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