Encode list/item prints in user-defined encoding