From 4e339ef5573dc6472c00c01a3de883346e6b03a3 Mon Sep 17 00:00:00 2001 From: David Serduke Date: Sat, 15 Dec 2007 23:30:34 +0000 Subject: [PATCH] Added feature #1934 by allowing script.charset to be set through an optional 'scriptCharset' ajax option. --- src/ajax.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ajax.js b/src/ajax.js index a5a08ecd6..01ee87732 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -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 ) { -- 2.39.5