From: Hugo van der Sanden Date: Wed, 26 Feb 2003 01:11:14 +0000 (+0000) Subject: regen headers X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bd5cf8491554ab1313db72afbf9e7bc1debe967c;p=p5sagit%2Fp5-mst-13.2.git regen headers p4raw-id: //depot/perl@18781 --- diff --git a/perlapi.h b/perlapi.h index 0e9733b..7568291 100644 --- a/perlapi.h +++ b/perlapi.h @@ -496,6 +496,8 @@ END_EXTERN_C #define PL_sig_pending (*Perl_Isig_pending_ptr(aTHX)) #undef PL_sighandlerp #define PL_sighandlerp (*Perl_Isighandlerp_ptr(aTHX)) +#undef PL_signals +#define PL_signals (*Perl_Isignals_ptr(aTHX)) #undef PL_sort_RealCmp #define PL_sort_RealCmp (*Perl_Isort_RealCmp_ptr(aTHX)) #undef PL_splitstr diff --git a/pod/perlapi.pod b/pod/perlapi.pod index 36e50cb..5945bec 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -4708,6 +4708,9 @@ Converts a string C of length C from ASCII into UTF8 encoding. Returns a pointer to the newly-created string, and sets C to reflect the new length. +If you want to convert to UTF8 from other encodings than ASCII, +see sv_recode_to_utf8(). + NOTE: this function is experimental and may change or be removed without notice. @@ -4758,10 +4761,10 @@ Found in file utf8.c =item is_utf8_string -Returns true if first C bytes of the given string form a valid UTF8 -string, false otherwise. Note that 'a valid UTF8 string' does not mean -'a string that contains UTF8' because a valid ASCII string is a valid -UTF8 string. +Returns true if first C bytes of the given string form a valid +UTF8 string, false otherwise. Note that 'a valid UTF8 string' does +not mean 'a string that contains code points above 0x7F encoded in +UTF8' because a valid ASCII string is a valid UTF8 string. bool is_utf8_string(U8 *s, STRLEN len)