message: fix: Added check for jschardet constants
diff: import { jschardet } from "./vscodeModules";
  +if (jschardet.Constants) {
  jschardet.Constants.MINIMUM_THRESHOLD = 0.2;
  jschardet.MacCyrillicModel.mTypicalPositiveRatio += 0.001;
  +}
  function detectEncodingByBOM(buffer: Buffer): string | null {
  if (!buffer || buffer.length < 2) {
  