delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/02/22/14:47:18

Date: Thu, 22 Feb 2001 21:44:30 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: haible AT ilog DOT fr
Message-Id: <2427-Thu22Feb2001214430+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De, djgpp-workers AT delorie DOT com
In-reply-to: <14997.24164.901535.865292@honolulu.ilog.fr> (message from Bruno
Haible on Thu, 22 Feb 2001 19:45:56 +0100 (CET))
Subject: Re: gettext pretest available
References: <29F40F30739 AT HRZ1 DOT hrz DOT tu-darmstadt DOT de> <14997 DOT 24164 DOT 901535 DOT 865292 AT honolulu DOT ilog DOT fr>
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

> From: Bruno Haible <haible AT ilog DOT fr>
> Date: Thu, 22 Feb 2001 19:45:56 +0100 (CET)
> 
> > If the environment variable LANG is set to one of the values
> > contained in the file the .mo file will be recoded to the
> > corresponding dos codepage on the fly.
> 
> Would it be possible to make it work even if the user doesn't set
> "LANG"? I can see a DOS call INT 21,65h

It is okay to use the DOS codepage reported by function 6601 of
Int 21h (function 65h is limited to certain versions of Windows 98
only).  It is also okay to intuit the DOS codepage from the country
code returned by function 38h of Int 21h, in case 6601 fails.

However, an external method of overriding that must be available,
since many DOS and Windows systems lie about the installed codepage.
For example, my system says its codepage is 437 while the truth is
862.

- Raw text -


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