append charset=utf-8 to both text/html and application/json