I have a demo code in lang.js:
var $lang = { todayStr1: "Hôm nay" // Vietnam todayStr2: "Today" // English }
When I get echo $ lang, the result is:
H m nayToday
What are the ideas for fixing utf8 in javascript?
you can test it when connecting lang.js
<script type="text/javascript" src="[path]/lang.js" charset="utf-8"></script>
Source: https://habr.com/ru/post/903648/More articles:SQLAlchemy throws an IntegrityError because of DBSession.add () - pythonhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/903644/should-an-automated-build-process-commit-changes-to-version-control&usg=ALkJrhjlMCEO9_KugmhtEEsAyyfCDFPJzwIs there a way to prevent overlapping CALayer shadows from adjacent layers? - iosIs it possible to achieve in Wime the so-called "impartial regime"? - vimTranscribing to a file - java"Read-only file system" error while writing to SD card - androidHook script client-side execution - svnHow to include updated line colors in a plot legend in R using a grid? - rHow to remove headers in NSMutableURLRequest? - iosIs there a native C ++ alternative for C "memcmp"? - c ++All Articles