summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/man/2/rune10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/man/2/rune b/sys/man/2/rune
index 124692797..c72e0b438 100644
--- a/sys/man/2/rune
+++ b/sys/man/2/rune
@@ -191,3 +191,13 @@ returns
.SH SEE ALSO
.IR utf (6),
.IR tcs (1)
+.SH BUGS
+When re-encoding UTF strings with
+.I chartorune
+and
+.I runetochar
+one has to consider that encoding a
+.I Runeerror
+(0xFFFD)
+that resulted from invalid encoded input can yield
+a longer UTF sequence on the output.