From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: =?UTF-8?Q?Re=3A_On_Windows=28R=29_Emacs_=C2=ABshell=C2=BB_mode_doesn=27t_print?= =?UTF-8?Q?s_an_output=2E?= Date: Thu, 25 Sep 2014 15:25:48 +0700 Message-ID: References: <83a95ow3fm.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1411633589 11452 80.91.229.3 (25 Sep 2014 08:26:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2014 08:26:29 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 25 10:26:22 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 1XX4NX-0007Af-H2 for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Sep 2014 10:26:19 +0200 Original-Received: from localhost ([::1]:38859 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX4NX-0004xX-1Q for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Sep 2014 04:26:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX4NE-0004wl-PH for help-gnu-emacs@gnu.org; Thu, 25 Sep 2014 04:26:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XX4NA-0008Gf-5S for help-gnu-emacs@gnu.org; Thu, 25 Sep 2014 04:26:00 -0400 Original-Received: from mail-ie0-x236.google.com ([2607:f8b0:4001:c03::236]:49905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX4N8-0008Fv-Bq; Thu, 25 Sep 2014 04:25:54 -0400 Original-Received: by mail-ie0-f182.google.com with SMTP id tp5so7840794ieb.41 for ; Thu, 25 Sep 2014 01:25:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=qnYGm7ot+8m7GZkYUwhthohXSVVN2P2jupqkyVnZijc=; b=KCY8R//2JvXRI9FwHmzhQmoyhoG/WFDDAJhNU8oYgFtIWYrg2b8uCDBBGzlDm+QWJG Y0ut4owhDfZdCGezooRPXE1fJbApjRLyOvp2d/7dgSPrg5+BSd5SwO61oFa64ceajDTY slaN18dR/ZoqwnLcvhoxrGYVWmzWh2Nj28pLD+7OjFz3jh8XTExGZ0Zpd7IohlqslGnY Yramx3dKGIphWLAczXHzM97SpyHDJbIsWSOtm1Dp71FqPUWDYpg8MC+B1c4OFkdbhCJy v2by5srfbAan4W87XeRxsvv4Y53YXoqMcqH6NQmwuIDELUPklvW4IKM1TGV+JAm+NVkU LHLg== X-Received: by 10.42.208.143 with SMTP id gc15mr378365icb.91.1411633548213; Thu, 25 Sep 2014 01:25:48 -0700 (PDT) Original-Received: by 10.107.164.194 with HTTP; Thu, 25 Sep 2014 01:25:48 -0700 (PDT) In-Reply-To: <83a95ow3fm.fsf@gnu.org> X-Google-Sender-Auth: B2vV28hRpEuOsk75XbIQ17GQ4zg X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::236 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:100136 Archived-At: On Thu, Sep 25, 2014 at 2:43 PM, Eli Zaretskii wrote: >> I thought that the problem is in encoding, and set =C2=ABshell=C2=BB's b= uffer >> with =C2=ABC-x f=C2=BB to UTF-16, which, as I know, uses MS, but i= t didn't >> fixed the problem. > > Console applications on Windows use the current OEM codepage, not > UTF-16. This is correct in general, although *some* Windows console applications can be persuaded to output in UTF-16. (The only example I know of is cmd.exe /U.) Also, there is an unofficial unsupported ugly hack to use =E2=80=9Cchcp 650= 01=E2=80=9D which makes applications think that the current OEM codepage is UTF-8. (It is unsupported because that there is some code that assumes at most two bytes for each character, while UTF-8 may produce up to four.)