perlapi: Give more accurate value for needed free space
authorKarl Williamson <khw@cpan.org>
Mon, 12 May 2014 18:42:33 +0000 (12:42 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 12 May 2014 19:07:04 +0000 (13:07 -0600)
commitc749c9fddc73b23f98a7500086ed6e3fffae9c94
tree45ad2143b9db543126269f532200be94b81e0fc3
parent9612f77d752993595fcf7e3ddafaad50d535f00a
perlapi: Give more accurate value for needed free space

When converting to UTF-8, one usually doesn't need 14 bytes available
space, which is what previously was claimed  It acutally depends on the
value being converted.  This change gives the precise value.
utf8.c