Allow to set encoding config for compass filter.