Add encoding configuration