Closed GoogleCodeExporter closed 9 years ago
The functionality is indeed provided by the binary module, but not via
"utf8encode" and/or "utf8decode" functions.
Sample code:
{{{
var Buffer = require("binary").Buffer;
var b = new Buffer("žšč", "utf-8");
system.stdout(b.toSource());
}}}
Please see the Binary/F specification (http://wiki.commonjs.org/wiki/Binary/F)
to see how this works.
Original comment by ondrej.zara
on 29 Dec 2010 at 4:11
Original comment by ondrej.zara
on 29 Dec 2010 at 4:12
Original issue reported on code.google.com by
snas...@gmail.com
on 29 Dec 2010 at 3:57