[plt-scheme] v299: process* file args, paths, strings, and byte-strings

From: Richard Cobbe (cobbe at ccs.neu.edu)
Date: Tue Oct 19 20:54:45 EDT 2004

On Tue, Oct 19, 2004 at 06:02:31PM -0700, Matthew Flatt wrote:

> `path->string' should be right. Under Unix and Mac OS X, `process*'
> will convert its arguments to bytes using the current locale's
> encoding, and `path->string' converts the path to a string using the
> current locale's encoding, so they're consistent.

Great; just what I wanted to hear.  Thanks.

> It's possible to have a path that can't be expressed in the locale's
> encoding. In that case, though, you wouldn't be able to type the
> corresponding command in your shell (er, assuming that your shell uses
> the locale encoding, which it probably does).

Interesting.  One would need a fairly exotic locale for that to be an
issue, though, right?  (Yet another corner of Unicode and
internationalization issues I don't know very much about, it seems.)

Thanks again,

Richard


Posted on the users mailing list.