For my German users, I want to display a status message with umlauts (ä/ü/ö) directly in the source file instead of requiring an extra download for messages.
However, I'm having trouble defining the encoding for a JS source file. Is there a way similar to HTML's http-equiv
? Or should I specify the encoding in the HTTP header?
Simply encoding the file in UTF-8 and serving it results in garbage being displayed in IE.