H-encoding