mechatroner / vscode_rainbow_csv

🌈Rainbow CSV - VS Code extension: Highlight CSV and TSV files in different rainbow colors to make them more readable
MIT License
426 stars 51 forks source link

Extension doesn't follow `files.autoGuessEncoding: true` setting #160

Open NogrTL opened 9 months ago

NogrTL commented 9 months ago

I often see this behavior see VS Code open the files with improper encoding when this extension enabled. Usually UTF8.

Steps

  1. Install extension
  2. Enable files.autoGuessEncoding
  3. Open file sample.txt

Actual It opens with UTF8 encoding. screenshot image

Expected File should be opened with Windows 1251 (Cyrillics) encoding. Workaround is "Change File Encoding" - "Reopen with Encoding" but it's tedious.

mechatroner commented 9 months ago

Thanks for the bug report! I haven't looked into this yet, but I am 99% sure that this is a manifestation/duplicate of the existing bug, see #127