diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-12-29 07:54:51 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-12-29 07:54:51 +0000 |
commit | 7df053ec69e901392ae6352566832be0a6917cfe (patch) | |
tree | 172b7acc956020f4272986101fa9ce5773a0db48 /utf8.c | |
parent | c512ce4f7f4a9bd0f491f91cb5a15fcb65ee37d9 (diff) | |
download | perl-7df053ec69e901392ae6352566832be0a6917cfe.tar.gz |
(Retracted by #8264) More join() testing which was good because
it revealed a bug in #8248 (the UTF8_EIGHT_BIT_LO() was wrong).
p4raw-id: //depot/perl@8249
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -183,8 +183,7 @@ Perl_is_utf8_string(pTHX_ U8 *s, STRLEN len) Returns the character value of the first character in the string C<s> which is assumed to be in UTF8 encoding and no longer than C<curlen>; -C<retlen> will be set to the length, in bytes, of that character, -and the pointer C<s> will be advanced to the end of the character. +C<retlen> will be set to the length, in bytes, of that character. If C<s> does not point to a well-formed UTF8 character, the behaviour is dependent on the value of C<flags>: if it contains UTF8_CHECK_ONLY, @@ -351,8 +350,7 @@ malformed: Returns the character value of the first character in the string C<s> which is assumed to be in UTF8 encoding; C<retlen> will be set to the -length, in bytes, of that character, and the pointer C<s> will be -advanced to the end of the character. +length, in bytes, of that character. If C<s> does not point to a well-formed UTF8 character, zero is returned and retlen is set, if possible, to -1. |