-
Notifications
You must be signed in to change notification settings - Fork 38.1k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityIssue identified as high-priorityverifiedVerification succeededVerification succeededworkbench-hot-exitPreservation of unsaved changes across restartsPreservation of unsaved changes across restarts
Milestone
Description
I noticed in https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/services/backup/node/backupFileService.ts#L73 you are not passing any encoding. This means backups are potentially stored with a user choice of encoding which is not good because we should assume UTF-8 when reading backups.
I suggest to be consistent and use UTF-8 for reading and writing of all backups.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityIssue identified as high-priorityverifiedVerification succeededVerification succeededworkbench-hot-exitPreservation of unsaved changes across restartsPreservation of unsaved changes across restarts