diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-01-09 12:37:03 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-01-09 19:29:02 -0700 |
commit | 0876b9a01ce95023535c197900c755d5c98d616f (patch) | |
tree | 7da60e7cc7ebd37721babdc7b4466a35a2f7e596 /embed.fnc | |
parent | bcd05b946b5a96ca0b2734a1042bda6af592c97b (diff) | |
download | perl-0876b9a01ce95023535c197900c755d5c98d616f.tar.gz |
Add check_utf8_print()
This new function looks for problematic code points on output, and warns if any
are found, returning FALSE as well.
What it warns about may change, so is marked as experimental.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1314,6 +1314,7 @@ ApMd |U8* |bytes_from_utf8|NN const U8 *s|NN STRLEN *len|NULLOK bool *is_utf8 ApMd |U8* |bytes_to_utf8 |NN const U8 *s|NN STRLEN *len Apd |UV |utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen Apd |UV |utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen +pMd |bool |check_utf8_print |NN const U8 *s|const STRLEN len #ifdef EBCDIC Adp |UV |utf8n_to_uvchr |NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags |