Corrected encoding