Skip to content

Commit

Permalink
perlapi: Correct pod for byte_to_utf8
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed Jan 21, 2025
1 parent e1cbf02 commit 4c62bc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utf8.c
Original file line number Diff line number Diff line change
Expand Up @@ -3280,9 +3280,9 @@ You don't have to know if memory was allocated or not. Just call C<Safefree>
unconditionally. C<free_me> will contain a suitable value to pass to
C<Safefree> for it to do the right thing, regardless.
Upon return, the number of variants in the string can be computed by
having saved the value of C<*lenp> before the call, and subtracting it from the
after-call value of C<*lenp>.
Upon return, the number of variants in the string can be computed by having
saved the value of C<*lenp> before the call, and subtracting the after-call
value of C<*lenp> from it.
If you want to convert to UTF-8 from encodings other than the native (Latin1 or
EBCDIC), see L</sv_recode_to_utf8>().
Expand Down

0 comments on commit 4c62bc0

Please sign in to comment.