message: fix: Temp files are encoded using default encoding setting
diff: @@ -3,6 +3,8 @@ import * as path from "path";
  import { Uri } from "vscode";
  import { exists, mkdir, writeFile } from "./fs";
  import * as crypto from "crypto";
  +import { iconv } from "./vscodeModules";
  +import { configuration } from "./helpers/configuration";
  export const tempdir = path.join(os.tmpdir(), "vscode-svn");
  @@ -19,12 +21,18 @@ export async function createTempSvnRevisionFile(
  const hash = crypto.createHash("md5");
  const data = hash.update(svnUri.path);
  const filePathHash = data.digest("hex");
  + const encoding = configuration.get<string>("default.encoding");
  if (!(await exists(path.join(tempdir, filePathHash)))) {
  await mkdir(path.join(tempdir, filePathHash));
  }
  const fpath = path.join(tempdir, filePathHash, fname);
  + if (encoding) {
  + const encodedPayload = iconv.encode(payload, encoding);
  + await writeFile(fpath, encodedPayload);
  + } else {
  await writeFile(fpath, payload);
  + }
  return Uri.file(fpath);
  }
  