Ticket #319 (new defect)

Opened 5 months ago

Last modified 4 days ago

RUN-PROGRAM and stream encodings

Reported by: gb Assigned to: gb
Priority: minor Milestone:
Component: Runtime (threads, GC) Version: unspecific
Keywords: Cc:

Description

Many standard programs (many GNU tools, including GCC) produce output in UTF-8 or some other non-empty encoding. CCL::MONITOR-EXTERNAL-PROCESS just interprets each octet it receives as a character-code; ideally, there should be some way of specifying how those octets encode characters.

Non-interactive input to external processes sometimes involves writing a lisp stream's contents to a temporary file and passing a descriptor to that file as the subprocess' standard input; similarly, there should be some way of ensuring that that input is encoded according to the external program's expectations.

How significant a problem this is may depend on how visible it is, which in turn depends on lots of factors ("locales", terminal/Emacs settings) outside of the lisp's control. It seems desirable that the lisp offer a way of doing (its part of) this right.

Change History

01/03/09 10:58:06 changed by rme

  • milestone deleted.

Milestone 1.2 deleted