Utils, encoding.