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

bootleq bootleq@gmail.com
Fri Mar 12 16:18:00 GMT 2010


When typing command in Windows XP cmd.exe shell, with multi-byte
characters, for example:
bash -c 'echo A'
result in:
bash: $'echo \357\274\241': command not found
expected result:
A

This would be problematic when writing Windows scripts to invoke bash commands.

How should I solve this?
Thank you very much.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 93351 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100312/fb24e5ce/attachment.obj>
-------------- next part --------------
--
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


More information about the Cygwin mailing list