Skip to content

Existing text files with German characters get corrupted after opening in VS Code #183253

@niranjan-ing

Description

@niranjan-ing

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.78.2 and before.
  • OS Version: Windows_NT x64 10.0.19044

Steps to Reproduce:

  1. Select encoding as UTF-8.
  2. Open exiting file with German characters.
  3. Special German characters shows as � in the file.
  4. Make changes to the file. Don't even need to change German characters. Any changes are fine.
  5. Push code to git. The characters show as '�' in git diff.
  6. Below are some examples of German chars getting corrupted and when they are pushed from VS Code:
  • ä -> �
  • ß -> �
  • ö -> �

image

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions