src/vs/workbench/services/textfile/common/textFileEditorModel.ts/TextFileEditorModel/getEncoding
class TextFileEditorModel:	getEncoding(): string | undefined {
		return this.preferredEncoding || this.contentEncoding;
	}