Add encoding header for 1.9