unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Coding problem?
@ 2014-03-04 22:05 tfardy
  2014-03-05  3:54 ` Eli Zaretskii
  2014-03-05 15:14 ` Doug Lewan
  0 siblings, 2 replies; 3+ messages in thread
From: tfardy @ 2014-03-04 22:05 UTC (permalink / raw)
  To: help-gnu-emacs

Windows 7, Emacs 24.3:

On command line (aka cmd) I do:
foo.exe ENTER
and I get a readable correct output.

Second try:
foo.exe > foo.txt ENTER and then I open foo.txt in Emacs and I get the same
correct content. But when I try foo.exe in shell-mode in Emacs I get only
junk (chinese characters). What is wrong?


regards
Marc


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Coding problem?
  2014-03-04 22:05 Coding problem? tfardy
@ 2014-03-05  3:54 ` Eli Zaretskii
  2014-03-05 15:14 ` Doug Lewan
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2014-03-05  3:54 UTC (permalink / raw)
  To: help-gnu-emacs

> From: tfardy <super.tfard@tfardoland.earth>
> Date: 4 Mar 2014 22:05:43 GMT
> 
> Windows 7, Emacs 24.3:
> 
> On command line (aka cmd) I do:
> foo.exe ENTER
> and I get a readable correct output.
> 
> Second try:
> foo.exe > foo.txt ENTER and then I open foo.txt in Emacs and I get the same
> correct content. But when I try foo.exe in shell-mode in Emacs I get only
> junk (chinese characters). What is wrong?

Hard to say, since you didn't tell what kind of output does foo.exe
produce.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Coding problem?
  2014-03-04 22:05 Coding problem? tfardy
  2014-03-05  3:54 ` Eli Zaretskii
@ 2014-03-05 15:14 ` Doug Lewan
  1 sibling, 0 replies; 3+ messages in thread
From: Doug Lewan @ 2014-03-05 15:14 UTC (permalink / raw)
  To: tfardy, help-gnu-emacs@gnu.org

Maybe your shell-mode buffer has a different coding system.

What happens if you start your shell this way: 
    C-x <ENTER> c EXPECTED-CODING <ENTER> M-x shell <ENTER>?

,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224

Of course, shells have one feature that no other language has: subshells.


> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
> Behalf Of tfardy
> Sent: Tuesday, 2014 March 04 17:06
> To: help-gnu-emacs@gnu.org
> Subject: Coding problem?
> 
> Windows 7, Emacs 24.3:
> 
> On command line (aka cmd) I do:
> foo.exe ENTER
> and I get a readable correct output.
> 
> Second try:
> foo.exe > foo.txt ENTER and then I open foo.txt in Emacs and I get the
> same
> correct content. But when I try foo.exe in shell-mode in Emacs I get
> only
> junk (chinese characters). What is wrong?
> 
> 
> regards
> Marc

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-05 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-04 22:05 Coding problem? tfardy
2014-03-05  3:54 ` Eli Zaretskii
2014-03-05 15:14 ` Doug Lewan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).