Skip to main content

Bug Tracker

Side navigation

#1931 closed feature (duplicate)

Opened November 14, 2007 11:34PM UTC

Closed December 15, 2007 11:14PM UTC

.getScript misses charset property

Reported by: daditto Owned by:
Priority: minor Milestone: 1.2.2
Component: ajax Version: 1.2.1
Keywords: getScript charset wrong Cc:
Blocked by: Blocking:


It has come to my attention that there's no way to set script charset when calling .getScript function. It's a vital option when script charset differs from the page it's displayed on. In case no script charset specified, IE7 uses document charset to render script content. This is not acceptable sometimes.

I've made a dirty hack and set it manually to UTF-8 by adding


after line 2262 of jquery.js (var script = document.createElement("script");)

But I think jQuery should have a more elegant solution to have script charset configured.

Thank you,


Attachments (0)
Change History (2)

Changed December 11, 2007 05:00PM UTC by john comment:1

component: coreajax

Changed December 15, 2007 11:14PM UTC by davidserduke comment:2

resolution: → duplicate
status: newclosed

Duplicate of #1934.