transform encoding