A well-tested UTF-8 encoder/decoder in JavaScript.