Note for Windows users: The file must be UTF-8 without the BOM (byte
order mark). Some Windows programs generate a pointless BOM at the
start of a UTF-8 file, which you would need to strip off.
On Mar 16, 3:57 am, Kai Huang <kai.hu...@gmail.com> wrote:
> As documented here:
> http://code.google.com/closure/templates/docs/concepts.html#filestruc...
(1) Encoding your main page in UTF-8, and then telling the browser,
e.g.
<meta http-equiv="Content-Type" content="text/html;
charset="UTF-8">
-or-
(2) Explicitly telling the browser that foo-bar.js is UTF-8, e.g.
<script type="text/javascript" charset="UTF-8" src="foo-bar.js"></
script>