diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-31 02:04:22 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-31 02:04:22 +0000 |
commit | 5d170f3a2f1aec382dd58400cc2a2fe1d00859b9 (patch) | |
tree | a30f3c6a83845afc14619ab6316c0560dc613ee5 /toke.c | |
parent | 9f4817dbf9f375fea5253c12557f39e3774b891c (diff) | |
download | perl-5d170f3a2f1aec382dd58400cc2a2fe1d00859b9.tar.gz |
Make sv_recode_to_utf8() a real API: the encoding
is a parameter, instead of a global. Document the
PERL_ENCODING.
p4raw-id: //depot/perl@12783
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1654,7 +1654,7 @@ S_scan_const(pTHX_ char *start) SvPOK_on(sv); if (PL_encoding && !has_utf8) { - Perl_sv_recode_to_utf8(aTHX_ sv); + Perl_sv_recode_to_utf8(aTHX_ sv, PL_encoding); has_utf8 = TRUE; } if (has_utf8) { |