diff --git a/src/http/client/jsonp.js b/src/http/client/jsonp.js index 241e7b40..30dfc8c8 100644 --- a/src/http/client/jsonp.js +++ b/src/http/client/jsonp.js @@ -47,6 +47,7 @@ export default function (request) { script.async = true; script.onload = handler; script.onerror = handler; + script.charset = request.jsonpCharset || ''; document.body.appendChild(script); });