Restored encoding directive on file open.