ref: ca5b491753ad363da8d9deb5978b56231ec27bf5
parent: d8d47f14b5ed8f6d3f892761ed86c6ce2075c337
author: cinap_lenrek <[email protected]>
date: Wed Apr 27 21:53:09 EDT 2016
rune(2): add Runeerror reencoding considerations in BUGS section (thanks aiju)
--- a/sys/man/2/rune
+++ b/sys/man/2/rune
@@ -191,3 +191,13 @@
.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.