delete encode