Skip to content

Comment on Base65536 encodingparent

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.