This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.7.1-1: In cmd.exe shell, how to pass multi-byte characters to bash?
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 12 Mar 2010 17:25:57 +0100
- Subject: Re: 1.7.1-1: In cmd.exe shell, how to pass multi-byte characters to bash?
- References: <186f30571003120807v7d09f3a5u71245cb96f87c6cb@mail.gmail.com>
- Reply-to: 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