Should the response encoding be set as well in this case? Or is that already happening somewhere else?