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.