Possible to define content type of JavaScript on a Page?

Hi All.My problem is this: I’ve moved a piece of JavaScript from a JavaScript Library to a page to include some code based on UserRoles and a profile document. The page is called “content.js” and is called from another JavaScript script. It works quite ok, except that if I use a HTTP sniffer, the browser now sees the JavaScript Library as text/html; charset=ISO-8859-1 instead of application/x-javascript with the effect that certain non standard characters like ü en ê are now misinterpreted by some browsers (IE in particular).

Is there a way to force a HTTP header to contain as TYPE application/x-javascript in a Page?

Subject: Possible to define content type of JavaScript on a Page?

Page Properties ==> tab: Page Info ==> section: Web Access ==> subsection: Content type ==> select: Other ==> write: text/javascript

Character set is next to that

Subject: Sometimes things are so simple :slight_smile: Thanks!