set encoding to have less warnings