pass default encoding options