rune(3): sync with rune.c and Plan 9
R=rsc CC=codebot http://codereview.appspot.com/254042
This commit is contained in:
parent
d94cc62a01
commit
2fe14f1315
1 changed files with 4 additions and 1 deletions
|
|
@ -71,7 +71,10 @@ If the input is not exactly in
|
||||||
.SM UTF
|
.SM UTF
|
||||||
format,
|
format,
|
||||||
.I chartorune
|
.I chartorune
|
||||||
will convert to 0x80 and return 1.
|
will convert to
|
||||||
|
.B Runeerror
|
||||||
|
(0xFFFD)
|
||||||
|
and return 1.
|
||||||
.PP
|
.PP
|
||||||
.I Runelen
|
.I Runelen
|
||||||
returns the number of bytes
|
returns the number of bytes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue