shithub: riscv

Download patch

ref: 58a6b6d6ff5e38e3d166756117851e924adcfb3b
parent: 006fa02a5e8a78d11e6c4852cb726462660e9cc7
parent: ca5b491753ad363da8d9deb5978b56231ec27bf5
author: ben <ben@rana>
date: Thu Apr 28 04:26:57 EDT 2016

merge default

--- 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.