Allow encoding to be specified on the source file.