mirror of https://github.com/nodejs/node.git
Remove strange unicode output in docs
parent
6788ad413f
commit
2f2c9d47fd
|
@ -55,8 +55,6 @@ Example: write a utf8 string into a buffer, then print it
|
||||||
len = buf.write('\u00bd + \u00bc = \u00be', 0);
|
len = buf.write('\u00bd + \u00bc = \u00be', 0);
|
||||||
console.log(len + " bytes: " + buf.toString('utf8', 0, len));
|
console.log(len + " bytes: " + buf.toString('utf8', 0, len));
|
||||||
|
|
||||||
// 12 bytes: ½ + ¼ = ¾
|
|
||||||
|
|
||||||
|
|
||||||
### buffer.toString(encoding, start=0, end=buffer.length)
|
### buffer.toString(encoding, start=0, end=buffer.length)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue