Simplified chameleon encoding