add encoding header to compose_mode.rb