Skip to content

Commit 2e18273

Browse files
committed
perlguts: Use modern name for function
Don't confuse the reader with historical names
1 parent 8914207 commit 2e18273

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pod/perlguts.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3582,7 +3582,7 @@ for putting a UV into UTF-8:
35823582

35833583
if (!UVCHR_IS_INVARIANT(uv))
35843584
/* Must treat this as UTF8 */
3585-
utf8 = uvchr_to_utf8(utf8, uv);
3585+
utf8 = uv_to_utf8(utf8, uv);
35863586
else
35873587
/* OK to treat this character as a byte */
35883588
*utf8++ = uv;
@@ -3801,7 +3801,7 @@ unless C<UTF8_IS_INVARIANT(*s)> in which case you can use C<*s>.
38013801
=item *
38023802

38033803
When writing a character UV to a UTF-8 string, B<always> use
3804-
C<uvchr_to_utf8>, unless C<UVCHR_IS_INVARIANT(uv))> in which case
3804+
C<uv_to_utf8>, unless C<UVCHR_IS_INVARIANT(uv))> in which case
38053805
you can use C<*s = uv>.
38063806

38073807
=item *

0 commit comments

Comments
 (0)