summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorGisle Aas <gisle@aas.no>2001-03-27 03:30:24 -0800
committerJarkko Hietaniemi <jhi@iki.fi>2001-03-27 20:04:18 +0000
commitd5ce4a7cd9d16a6d235e1b45a0768034bbdac1f0 (patch)
treebb93040ba9584bcd9f854c77a295ace06136d1c1 /sv.h
parentfd713a85eb6c0ac3df6fa25ed6c5b990a5c3d174 (diff)
downloadperl-d5ce4a7cd9d16a6d235e1b45a0768034bbdac1f0.tar.gz
Re: perl@9359 breaks HTML::Parser
Message-ID: <lrr8zjxb5b.fsf@caliper.ActiveState.com> Clarify the UTF-8 issues of the API docs. (Slightly reworded and expanded.) p4raw-id: //depot/perl@9386
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sv.h b/sv.h
index 2785f14595..ab04b0529a 100644
--- a/sv.h
+++ b/sv.h
@@ -478,6 +478,7 @@ Unsets the PV status of an SV.
=for apidoc Am|void|SvPOK_only|SV* sv
Tells an SV that it is a string and disables all other OK bits.
+Will also turn off the UTF8 status.
=for apidoc Am|bool|SvOOK|SV* sv
Returns a boolean indicating whether the SvIVX is a valid offset value for
@@ -584,14 +585,15 @@ Set the length of the string which is in the SV. See C<SvCUR>.
Returns a boolean indicating whether the SV contains UTF-8 encoded data.
=for apidoc Am|void|SvUTF8_on|SV *sv
-Tells an SV that it is a string and encoded in UTF8. Do not use frivolously.
+Turn on the UTF8 status of an SV (the data is not changed, just the flag).
+Do not use frivolously.
=for apidoc Am|void|SvUTF8_off|SV *sv
Unsets the UTF8 status of an SV.
=for apidoc Am|void|SvPOK_only_UTF8|SV* sv
-Tells an SV that it is a UTF8 string (do not use frivolously)
-and disables all other OK bits.
+Tells an SV that it is a string and disables all other OK bits,
+and leaves the UTF8 status as it was.
=cut
*/