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
This milestone encoding support landed for web. This was possible by depending on iconv-lite-umd, a webpacked version of iconv-lite.
Note: Unless files.autoGuessEncoding: true, the encoding for a file will always be the value of the files.encoding setting (UTF-8 by default) unless the file has a UTF-8 or UTF-16 byte-order-mark for identification. And even when guessing is enabled, it may result in wrong guesses or no guesses at all.
Refs: #79275
Complexity: 3
Create Issue
This milestone encoding support landed for web. This was possible by depending on
iconv-lite-umd
, a webpacked version oficonv-lite
.Note: Unless
files.autoGuessEncoding: true
, the encoding for a file will always be the value of thefiles.encoding
setting (UTF-8
by default) unless the file has aUTF-8
orUTF-16
byte-order-mark for identification. And even when guessing is enabled, it may result in wrong guesses or no guesses at all.Verify:
UTF-8
with BOM,UTF-16LE
andUTF-16BE
put a byte-order-mark in the beginning (use Hex Editor extension to verify)files.encoding
and from then on files will use the configured encoding when reading and writingfiles.autoGuessEncoding: true
and the encoding will be guessed from the contents (you can use this file to verifyCP1252
)The text was updated successfully, but these errors were encountered: