diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-02-22 19:17:04 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-02-22 19:17:04 +0000 |
commit | c9ada85fa9dc6257bae067a90718f01476f8c35f (patch) | |
tree | aed156b887119fc690ac99f37c1220af3a4362b7 /utf8.c | |
parent | 30cf872d9b23889ef292a003dd99d5ad22957835 (diff) | |
download | perl-c9ada85fa9dc6257bae067a90718f01476f8c35f.tar.gz |
API doc tweaks.
p4raw-id: //depot/perl@18760
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -217,10 +217,10 @@ Perl_is_utf8_char(pTHX_ U8 *s) /* =for apidoc A|bool|is_utf8_string|U8 *s|STRLEN len -Returns true if first C<len> 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<len> 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. =cut */ @@ -770,6 +770,9 @@ Converts a string C<s> of length C<len> from ASCII into UTF8 encoding. Returns a pointer to the newly-created string, and sets C<len> to reflect the new length. +If you want to convert to UTF8 from other encodings than ASCII, +see sv_recode_to_utf8(). + =cut */ |