adding encoding support to dev mode