Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Steal build cannot handle utf-8 properly?

$
0
0
Hi, 
Can you make steal to build utf-8 template properly? My new project has to deal with Chinese mustache template. 
Everything is in utf-8 format. The template works fine in dev mode, but after steal build it was added some strange characters.

Please see screenshots below


I have set the <meta charset="utf-8"> in my index.html page and the build/build.html, but does not help.

I also checked the production.js file and find some codes like
  1. o.push('<form role="form">\n\t<label for="pagi_title"> \u6587\u7ae0\u6807\u9898 \ufffd?</label>\n\t ...
How can I fix this? Is this a bug in StealJS?

I really love canjs, If steal cannot build utf-8 properly, I have to switch to other framework for solution.
Thank you!

Viewing all articles
Browse latest Browse all 3491

Trending Articles