Bash – UTF-8 and !# shell scripts

bashconfigurationunixutf-8

Is there a way to configure bash on Linux (red hat and ubuntu) to allow shell scripts to be encoded in UTF-8?

I can't find a simple way to change just one little thing and have the whole system just use UTF-8 files without having to worry about encoding.

Best Answer

I'm fairly sure bash pays attention to your locale setting, so if it's UTF-8, you should be good to go.

Related Topic