set encoding everywhere