Change how encoding is specified.