xmltools
xmltools copied to clipboard
"Pretty print ALT+SHIFT+B" command drops BOM on UTF-8 BOM files
Repro steps
- Open an XML file encoded as UTF-8 BOM (or open any file and set its encoding to UTF-8 BOM encoding, saving the file afterwards)
- Hit CTRL+SHIFT+B
Expected results
- Text is formatted as expected
- Encoding doesn't change
Actual results
- Text is formatted as expected
- Encode changes to UTF-8
Remarks
It could be the case that BOM is configurable through some of the existing options, but if that is the case, the description is not clear or doesn't follow Notepad++ nomenclature.