Forgot to set default value for encoding