Fix Bug #1378022, UTF-8 files with a leading BOM crashed the interpreter.

Needs backport.
5 files changed