rune(2): add Runeerror reencoding considerations in BUGS section (thanks aiju)

This commit is contained in:
cinap_lenrek 2016-04-28 01:53:09 +02:00
parent d8d47f14b5
commit ca5b491753

View file

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