I added those two methods as they behave differently:
- `addEncodingOption()`, adds encoding option into existing ones,
- `setEncodingOptions()`, replaces encoding options with new ones,