Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fileencoding #7

Open
jalbersol opened this issue Jan 2, 2020 · 3 comments
Open

fileencoding #7

jalbersol opened this issue Jan 2, 2020 · 3 comments

Comments

@jalbersol
Copy link

Hi,
it would be great if the plungin would also support fileencoding (e.g. fileencoding=windows1252).
Many thanks in advance.
J.

@positron96
Copy link

I second that. Encoding is the most important modeline for non-latin files that, for some reason, cannot be utf8

@6XGate
Copy link

6XGate commented Aug 14, 2023

another situation is when handling DOSBox config files, VSCode will always assume UTF-8, but they are actually meant to be in CP437, and modelining would fix them on opening.

@ctlajoie
Copy link
Owner

vscode's extension API still does not support setting the fileencoding or charset. microsoft/vscode#824
The EditorConfig extension is also waiting for the same functionality editorconfig/editorconfig-vscode#35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants