Skip to content

VS Code mangles copyright symbol #59868

@anrossi

Description

@anrossi

Issue Type: Bug

I edited a powershell source file in VS Code which contained a Copyright symbol, ©.
I didn't edit the line with the symbol, but VS Code change the symbol to this when I saved the file: �
This only became apparent when I used git diff to see my changes, and the diff showed this change as the byte values:

-    Copyright = "<A9>"
+    Copyright = "<EF><BF><BD>"

VS Code version: Code 1.27.2 (f46c4c4, 2018-09-12T16:17:45.060Z)
OS version: Windows_NT x64 10.0.18231

Extensions (3)
Extension Author (truncated) Version
vscode-nmake-tools Mic 1.1.180913009
cpptools ms- 0.19.0
PowerShell ms- 1.9.0

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions