charltoons/hipchatter — pull request #14 by kuronekomichael (2014-05-16 04:46:59+00:00)
Title: set charset=utf-8 to json request

Characters will be garbled if the JSON request containing a multi-byte character.
It is for a hipchat server to misunderstand the character code of a request.

'Content-Type: application/json' -> charset default(US-ASCII)
'Content-TYpe: application/json; charset=utf-8' -> charset UTF-8

For example, if a multi-byte character is called by hipchatter, a hipchat server will receive an unjust demand.

`json:true` and please set a `Content-Type: application/json; charset=utf-8`.