Closed JourneyOver closed 6 years ago
The utf-8-bom
property is intentionally not supported as it's a bad practice: https://stackoverflow.com/questions/2223882/whats-different-between-utf-8-and-utf-8-without-bom/2223926#2223926
We should make that clear in the readme.
@JourneyOver - thank you very much for that finding. Besides of Sindres argument, Atom doesn't support utf-8 boms in any way: https://github.com/atom/encoding-selector/issues/18
I will point that out in the readme.
I am closing this issue - but please feel free to come back if you have any further feedback or questions.
No worries @JourneyOver - i completely understand your disappointment, as well as the disappointment of others. Besides of my opinion about BOMs in general, this is clearly something the Atom-Core must take care of.
I am really sorry i can't help you out.
[Enter steps to reproduce:]
[*.ps1] charset = utf-8-bom
in .editorconfig file and save on atomAtom: 1.21.0-beta2 x64 Electron: 1.6.9 OS: Microsoft Windows 10 Pro Thrown From: editorconfig package 2.2.2
Stack Trace
Uncaught Error: Encoding not recognized: 'utf8bom' (searched as: 'utf8bom')
Commands
Non-Core Packages