From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Coding problem? Date: Wed, 05 Mar 2014 05:54:03 +0200 Message-ID: <83lhwpqp0k.fsf@gnu.org> References: <1300336336415663139.639598super.tfard-tfardoland.earth@News.Individual.DE> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1393991674 9885 80.91.229.3 (5 Mar 2014 03:54:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Mar 2014 03:54:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 05 04:54:42 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WL2un-0000ve-I6 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Mar 2014 04:54:41 +0100 Original-Received: from localhost ([::1]:50052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WL2un-0005Mj-81 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Mar 2014 22:54:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WL2uW-0005MW-Kz for help-gnu-emacs@gnu.org; Tue, 04 Mar 2014 22:54:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WL2uN-00049q-F5 for help-gnu-emacs@gnu.org; Tue, 04 Mar 2014 22:54:24 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:60814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WL2uN-00049l-2W for help-gnu-emacs@gnu.org; Tue, 04 Mar 2014 22:54:15 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N1Y0080028SE100@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Wed, 05 Mar 2014 05:54:13 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1Y0082V2UD6U80@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Wed, 05 Mar 2014 05:54:13 +0200 (IST) In-reply-to: <1300336336415663139.639598super.tfard-tfardoland.earth@News.Individual.DE> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96259 Archived-At: > From: tfardy > 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.