Mike Minicki
Mike Minicki

Reputation: 8476

External javascript character encoding on Webshpere

How can one set character encoding on external JavaScript files using only Websphere (5.1)? I don't have Apache in front of it so I can't set it using "AddCharset UTF-8 .js".

Or maybe there is some other way to force it on a web container via web.xml or similar magic?

Upvotes: 1

Views: 643

Answers (1)

trunkc
trunkc

Reputation: 6293

See http://www-01.ibm.com/software/globalization/j2ee/encoding.jsp

You could also serve the JavaScript file through a servlet.

Upvotes: 1

Related Questions