set encoding information