var $lang = { todayStr1: "Hôm nay" // Vietnam todayStr2: "Today" // English }
当我回应$lang结果是:
H?m nay Today
如何在JavaScript中修复utf8的想法?
<script type="text/javascript" src="[path]/lang.js" charset="utf-8"></script>