Decode source code with the declared encoding.

Fix #228.