diff options
-rw-r--r-- | sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10377,7 +10377,7 @@ The PV of the sv is returned. char * Perl_sv_recode_to_utf8(pTHX_ SV *sv, SV *encoding) { - if (SvPOK(sv) && !SvUTF8(sv) && !SvROK(sv)) { + if (SvPOK(sv) && !SvUTF8(sv) && SvROK(encoding)) { SV *uni; STRLEN len; char *s; |