var bb= new Buffer(2) bb.write(“中",0) console.log(bb.toString('utf8’,0)+">>>>>>>>>>>>>>>>>>>>”) 输出 >>>>>>>>>>>>>>>>>>>>
var bb= new Buffer(3) bb.write(“中",0) console.log(bb.toString('utf8’,0)+">>>>>>>>>>>>>>>>>>>>”) 输出 中>>>>>>>>>>>>>>>>>>>>
var bb= new Buffer(2) bb.write(“中",0) console.log(bb.toString('utf8’,0)+">>>>>>>>>>>>>>>>>>>>”) 输出 >>>>>>>>>>>>>>>>>>>>
var bb= new Buffer(3) bb.write(“中",0) console.log(bb.toString('utf8’,0)+">>>>>>>>>>>>>>>>>>>>”) 输出 中>>>>>>>>>>>>>>>>>>>>