Re: Spurious warning generated by bash

matthew patton via Cygwin <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <[email protected]>
since when is it acceptable to have UTF-8 format files as shell scripts, perl scripts or even python programs?

a directive in .vimrc can probably help. along the lines of 

au BefRead,ButNewFile *.sh,*.pl,*.py set nobomb

or if you invoke your shell script with `bash --utf8 ./my_broken^H^H^H^Hutf-encoded.script` or just `LANG=C.UTF-8 ./my_utf8-script` or set LC_ALL etc.

you know how people pose the question "if you could go back in time, would you kill Hitler? Same needs to be asked about the person/committee that came up with UTF8.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.