delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/01/04/06:18:04

Date: Sat, 04 Jan 2003 13:15:12 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: wkennedy AT softintegration DOT com (Walter Kennedy)
Message-Id: <1438-Sat04Jan2003131512+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <10301022216.AA21714@clio.rice.edu> (sandmann@clio.rice.edu)
Subject: Re: ls in Windows 95 (fwd)
References: <10301022216 DOT AA21714 AT clio DOT rice DOT edu>
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

> Date: Wed, 1 Jan 2003 13:23:21 -0500 (EST)
> From: wkennedy AT softintegration DOT com (Walter Kennedy)
> 
> We have a Japanese user telling us that "ls" in Windows 95 cannot
> display the japanese file names.

This is because DJGPP programs, being essentially DOS executables,
get ``special'' treatment from Windows as far as non-ASCII characters
are considered.  Windows assumes that DOS programs support only the
OEM character set, and they translate all non-ASCII characters to
that character set when the text is passed to DOS programs.  This
includes file names.

In other words, if the Windows file names use character that are not
available in the OEM set used on that installation of Windows, DJGPP
programs will see gibberish.

In addition, many DJGPP library functions don't work well with
multibyte characters in file names.  Patches to fix that are welcome.

- Raw text -


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