Comment on Base65536 encodingparentComments−duskwuff9yMore specifically: only if you will be storing/transmitting data in UTF-16. If you're using UTF-8, base85 is much better.−sratner9yJavascript strings are UTF-16 (or maybe it was UCS-2?)−duskwuff9yJavascript strings behave like UCS-2, but they can be stored in memory however the interpreter likes, and they're typically written to disk or the network as UTF-8.
Comments
More specifically: only if you will be storing/transmitting data in UTF-16. If you're using UTF-8, base85 is much better.
Javascript strings are UTF-16 (or maybe it was UCS-2?)
Javascript strings behave like UCS-2, but they can be stored in memory however the interpreter likes, and they're typically written to disk or the network as UTF-8.