From 40750e5112cc0c59c2a9a2d61ce2ffd91d886e9f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 21 Aug 2025 01:55:10 +0000 Subject: [PATCH 1/2] Initial plan From c2c50eb09b9ac144fdb68185f7225b127cecc327 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 21 Aug 2025 02:00:39 +0000 Subject: [PATCH 2/2] Replace deprecated uvuni_to_utf8() with uvchr_to_utf8() Co-authored-by: oalders <96205+oalders@users.noreply.github.com> --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index ed4fd70..c802a7f 100644 --- a/util.c +++ b/util.c @@ -159,7 +159,7 @@ decode_entities(pTHX_ SV* sv, HV* entity2char, bool expand_prefix) } } - tmp = (char*)uvuni_to_utf8((U8*)buf, num); + tmp = (char*)uvchr_to_utf8((U8*)buf, num); repl = buf; repl_len = tmp - buf; repl_utf8 = 1;