Encodes a String with the BOM
@override List<int> encodeWithBOM(String input) => encoder.encode(input, true);