Updating to allow the developer to choose encoding options based on their specific needs and availability based on PHP version.