encode the output license.