projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6788ad4
)
Remove strange unicode output in docs
author
Ryan Dahl
<ry@tinyclouds.org>
Mon, 28 Mar 2011 22:55:45 +0000
(15:55 -0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Mon, 28 Mar 2011 22:55:45 +0000
(15:55 -0700)
doc/api/buffers.markdown
patch
|
blob
|
history
diff --git
a/doc/api/buffers.markdown
b/doc/api/buffers.markdown
index ca4480bafc8adf5f9ffef67e00759fc098e5cf36..30c3f03d25fc449703dc9022148f9ab6017150b9 100644
(file)
--- a/
doc/api/buffers.markdown
+++ b/
doc/api/buffers.markdown
@@
-55,8
+55,6
@@
Example: write a utf8 string into a buffer, then print it
len = buf.write('\u00bd + \u00bc = \u00be', 0);
console.log(len + " bytes: " + buf.toString('utf8', 0, len));
- // 12 bytes: ½ + ¼ = ¾
-
### buffer.toString(encoding, start=0, end=buffer.length)