src/vs/workbench/contrib/files/browser/editors/fileEditorInput.ts/FileEditorInput/getEncoding
class FileEditorInput:	getEncoding(): string | undefined {
		if (this.model) {
			return this.model.getEncoding();
		}

		return this.preferredEncoding;
	}