utf8 encoding and decoding in Node.js
Switch branches/tags
Nothing to show
Clone or download
Ryan McGrath
Ryan McGrath Initial
Latest commit 45627ad May 30, 2011
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Initial May 30, 2011
LICENSE Initial May 30, 2011
package.json Initial May 30, 2011
readme.md Initial May 30, 2011


Node Utf-8 Encoding/Decoding Functions

This is a port of the work done by Chris Veness over the past ten years in relation to encoding and decoding Utf-8 data in a JavaScript environment. I didn't write the core of this, merely modified it to work with Node's package structure and be published on npm, where people can by and large get used to it and stop being confused about this issue. ;P


npm install utf8


var utf8 = require('utf8');
var c = utf8.encode("私は")

Questions, Comments?