Particularly for Text objects for HTML5 exports. Or more specifically in Kyatric 's CBhash plugin.
UTF-8? or UTF-16?
Using notepad++ to open the exported runtime.js and data.js, it says utf-8.
Develop games in your browser. Powerful, performant & highly capable.
Wherever there's a choice, C2 uses UTF-8. JS itself stores strings in memory in UTF-16 IIRC, but this doesn't mean anything saved/loaded or sent/received over the network is the same. Ideally that should all be UTF-8 too, but I think it partly depends on server/browser configuration.