Fix utf-8 POST request body encoding. #943.