dotnet/roslyn
View on GitHubMove to new file doesn't honor charset in .editorconfig
Open
#34,200 opened on Mar 17, 2019
Area-IDEBugFeature - Editor Confighelp wanted
Description
Version Used: 15.9.9
Steps to Reproduce:
- Have an .editorconfig with
charset = utf-8 - Open an existing file (encoding irrelvant)
- Add a type to the file
- Apply "Move type to new file" refactoring
Expected Behavior:
The new file is stored in the encoding specified by .editorconfig (in this case UTF8, no BOM).
Actual Behavior:
The new file is stored in UTF8-BOM.