1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-28 08:38:39 +02:00

Fixed #131 - Use utf-8 encoding for bind and render API

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2015-07-12 08:29:36 -07:00
parent 4abea5d987
commit c4357ca80b

View File

@ -90,13 +90,13 @@ const (
// Media types
//-------------
ApplicationJSON = "application/json"
ApplicationXML = "application/xml"
ApplicationJSON = "application/json; charset=utf-8"
ApplicationXML = "application/xml; charset=utf-8"
ApplicationForm = "application/x-www-form-urlencoded"
ApplicationProtobuf = "application/protobuf"
ApplicationMsgpack = "application/msgpack"
TextPlain = "text/plain"
TextHTML = "text/html"
TextHTML = "text/html ;charset=utf-8"
TextPlain = "text/plain ;charset=utf-8"
MultipartForm = "multipart/form-data"
//---------