[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Coding problem?
From: |
Doug Lewan |
Subject: |
RE: Coding problem? |
Date: |
Wed, 5 Mar 2014 15:14:31 +0000 |
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