add env variable to set encoding