encoding path