You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using :: as comments in my Windows batch files, because that is far easier to read.
XML
<-- VSCODE.ENCODING=cp437 -->
Many XML files already have an explicit character encoding documented in them. So it should be preferred to read otherwise already available pieces of information and especially support for XML has been asked for some years ago already.
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Issue Type: Feature Request
Can you enter the auto detect encoding file using a "magic word" in file,
e.g. at the beginning in the comment I write "VSCODE.ENCODING=cp852"
batch
REM VSCODE.ENCODING=cp852
ECHO ...
...
javascript
// VSCODE.ENCODING=windows1250
def Func() ...
...
SQL
-- VSCODE.ENCODING=utf8
SELECT ...
XML
<-- VSCODE.ENCODING=cp437 -->
...
VS Code version: Code 1.65.2 (c722ca6, 2022-03-10T14:33:55.248Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
The text was updated successfully, but these errors were encountered: