vscode-modelines
vscode-modelines copied to clipboard
fileencoding
Hi, it would be great if the plungin would also support fileencoding (e.g. fileencoding=windows1252). Many thanks in advance. J.
I second that. Encoding is the most important modeline for non-latin files that, for some reason, cannot be utf8
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.
vscode's extension API still does not support setting the fileencoding or charset. https://github.com/microsoft/vscode/issues/824 The EditorConfig extension is also waiting for the same functionality https://github.com/editorconfig/editorconfig-vscode/issues/35