summaryrefslogtreecommitdiff
path: root/sys/man/2
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-04-28 01:53:09 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2016-04-28 01:53:09 +0200
commitca5b491753ad363da8d9deb5978b56231ec27bf5 (patch)
tree32f4999896936b6508442057bd1e144fbab4f118 /sys/man/2
parentd8d47f14b5ed8f6d3f892761ed86c6ce2075c337 (diff)
rune(2): add Runeerror reencoding considerations in BUGS section (thanks aiju)
Diffstat (limited to 'sys/man/2')
-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.