Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

charset = "utf-8-bom" in .editorconfig not working #206

Closed
1 of 2 tasks
gabbsmo opened this issue Dec 9, 2018 · 1 comment
Closed
1 of 2 tasks

charset = "utf-8-bom" in .editorconfig not working #206

gabbsmo opened this issue Dec 9, 2018 · 1 comment

Comments

@gabbsmo
Copy link

gabbsmo commented Dec 9, 2018

Please fill-in this template.

  • I have a question that is specific to this extension; thus, inappropriate for the main EditorConfig issue tracker.
  • I tried running code --disable-extensions and the issue did NOT present itself.

Issue

Visual Studio Code editorconfig-vscode
Version 1.29.1 (user setup) 0.12.5

Root .editorconfig File

root = true

[*]
charset = "utf-8-bom"

Are there any other relevant .editorconfig files in your project? No

File opened

./foo.txt

Expected behavior

charset = "utf-8-bom"

Actual behavior

charset = "utf-8"

Additional comments or steps to reproduce

  1. Create folder and open it with Code
  2. Add the .editorconfig file
  3. Restart Code
  4. Add a file
  5. It is created with charset utf-8 and not utf-8-bom. Editing and saving does not change charset either.
@jednano
Copy link
Member

jednano commented Dec 10, 2018

Duplicate of #35

@jednano jednano marked this as a duplicate of #35 Dec 10, 2018
@jednano jednano closed this as completed Dec 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants