diff --git a/framework/yii/web/Response.php b/framework/yii/web/Response.php index 3599e63..cfbc537 100644 --- a/framework/yii/web/Response.php +++ b/framework/yii/web/Response.php @@ -781,7 +781,7 @@ class Response extends \yii\base\Response $this->content = $this->data; break; case self::FORMAT_JSON: - $this->getHeaders()->set('Content-Type', 'application/json; charset=' . $this->charset); + $this->getHeaders()->set('Content-Type', 'application/json'); $this->content = Json::encode($this->data); break; case self::FORMAT_JSONP: