charset

Byte-order mark handling. Not set, a file keeps whatever mark it arrived with.

Value Notes
utf-8
utf-8-bom

Default: (not set)

No known case where Curb's output is not a fixed point of dotnet format — see conformance.

utf-8 writes the file without a byte-order mark and utf-8-bom writes it with one. Curb reads and writes UTF-8 either way, so a code block can't show the difference. With the key unset, each file keeps the mark it arrived with. The other EditorConfig values (latin1, utf-16be, utf-16le) are reported as unrecognised, since re-encoding a file is not a formatting change.