summaryrefslogtreecommitdiff
path: root/perlapi.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-10-28 22:55:24 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-28 22:55:24 +0000
commit0a3788024daeeff27b99d9992ad4f1eb40663b1a (patch)
treec4f94dd14dd9658f90c215aae62e09aeeae00c94 /perlapi.h
parent515f097614eaa79c1f9c40647e200dc7dc7dd619 (diff)
downloadperl-0a3788024daeeff27b99d9992ad4f1eb40663b1a.tar.gz
Add the encoding pragma to control the "upgrade"
from the native eight bit data to Unicode. TODO: \x.. and \0... literals. \N{}. chr()? ord()? p4raw-id: //depot/perl@12750
Diffstat (limited to 'perlapi.h')
-rw-r--r--perlapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perlapi.h b/perlapi.h
index 2811a44650..0592374d1a 100644
--- a/perlapi.h
+++ b/perlapi.h
@@ -199,6 +199,8 @@ END_EXTERN_C
#define PL_e_script (*Perl_Ie_script_ptr(aTHX))
#undef PL_egid
#define PL_egid (*Perl_Iegid_ptr(aTHX))
+#undef PL_encoding
+#define PL_encoding (*Perl_Iencoding_ptr(aTHX))
#undef PL_endav
#define PL_endav (*Perl_Iendav_ptr(aTHX))
#undef PL_envgv