Added feature #1934 by allowing script.charset to be set through an optional 'scriptCharset' ajax option.
This commit is contained in:
parent
b264f789b9
commit
4e339ef557
1 changed files with 2 additions and 0 deletions
|
@ -224,6 +224,8 @@ jQuery.extend({
|
|||
var head = document.getElementsByTagName("head")[0];
|
||||
var script = document.createElement("script");
|
||||
script.src = s.url;
|
||||
if (s.scriptCharset)
|
||||
script.charset = s.scriptCharset;
|
||||
|
||||
// Handle Script loading
|
||||
if ( !jsonp ) {
|
||||
|
|
Loading…
Reference in a new issue