emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Character shown as \377 in *Shell* on w32


From: Eli Zaretskii
Subject: Re: Character shown as \377 in *Shell* on w32
Date: Fri, 29 Dec 2006 14:03:19 +0200

> Date: Fri, 29 Dec 2006 10:25:53 +0000
> From: Jason Rumney <address@hidden>
> Cc: address@hidden
> 
> Kenichi Handa wrote:
> > It seems that default-process-coding-system is not setup
> > properly on Windows.  When I run Emacs on my Windows,
> > default-buffer-file-coding-system is set correctly to:
> >   japanese-shift-jis-dos
> > but default-process-coding-system is:
> >   (undecided-dos . undecided-unix)
> >   
> This is because DOS programs and Windows programs use different 
> coding-systems for their output.

I believe you mean "console programs and GUI programs", not "DOS
programs and Windows programs", is that right?

> cmd.exe uses the DOS codepage. So there 
> isn't a single coding-system that is likely to be correct in most cases.

We could at least DTRT in "M-x shell" (and in all other cases where we
know that a console program will be invoked), can't we?  Come to think
of it, are there at all situations where a program invoked via
start-process or its ilk, whose output we read, is _not_ a console
program?

Anyway, I'm not yet sure 100% that the value of
default-process-coding-system is the culprit here.  I asked Lennart to
see if modifying it solves the problem.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]