| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| Date: | Fri, 12 Mar 2010 17:25:57 +0100 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: 1.7.1-1: In cmd.exe shell, how to pass multi-byte characters to bash? |
| Message-ID: | <20100312162557.GR6505@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <186f30571003120807v7d09f3a5u71245cb96f87c6cb AT mail DOT gmail DOT com> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <186f30571003120807v7d09f3a5u71245cb96f87c6cb@mail.gmail.com> |
| User-Agent: | Mutt/1.5.20 (2009-06-14) |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Mar 13 00:07, bootleq wrote: > When typing command in Windows XP cmd.exe shell, with multi-byte > characters, for example: > bash -c 'echo ???' > result in: > bash: $'echo \357\274\241': command not found > expected result: > ??? > > This would be problematic when writing Windows scripts to invoke bash commands. Simplest solution: Write bash scripts instead. Other than that, check the latest developer snapshot from http://cygwin.com/snapshots/. It contains a patch which might fix your problem. And either way, make sure the environment locale settings are matching your Win32 environment. See the User's Guide. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |