summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-02-22 19:17:04 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-02-22 19:17:04 +0000
commitc9ada85fa9dc6257bae067a90718f01476f8c35f (patch)
treeaed156b887119fc690ac99f37c1220af3a4362b7 /utf8.c
parent30cf872d9b23889ef292a003dd99d5ad22957835 (diff)
downloadperl-c9ada85fa9dc6257bae067a90718f01476f8c35f.tar.gz
API doc tweaks.
p4raw-id: //depot/perl@18760
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/utf8.c b/utf8.c
index 19d5ce5062..261b1d911a 100644
--- a/utf8.c
+++ b/utf8.c
@@ -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
*/