So does javascript, in all web browsers and environments.
JavaScript’s DOMString is basically defined as UTF-16.
Yes, and this threw us off because we thought we weren't communicating the encoding correctly with Safari. A day later we finally realized that's not the issue.