Add encoding setting