This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7.1-1: In cmd.exe shell, how to pass multi-byte characters to bash?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]