I came across some Ruby scripts on Github. The first line is the normal shebang (#!/usr/bin/ruby), but the second line is the following:
# -*- coding: utf-8 -*-
I didn't know this method of declaring character encoding! Is this just a Ruby thing, or can I use it (for example) in Bash scripts as well?
