Move force_encoding to earlier position