summaryrefslogtreecommitdiff
path: root/intrpvar.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 /intrpvar.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 'intrpvar.h')
-rw-r--r--intrpvar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intrpvar.h b/intrpvar.h
index c224ff7c5d..63c9397c55 100644
--- a/intrpvar.h
+++ b/intrpvar.h
@@ -499,6 +499,8 @@ PERLVARI(Iknown_layers, PerlIO_list_t *,NULL)
PERLVARI(Idef_layerlist, PerlIO_list_t *,NULL)
#endif
+PERLVARI(Iencoding, SV*, Nullsv) /* character encoding */
+
/* New variables must be added to the very end for binary compatibility.
* XSUB.h provides wrapper functions via perlapi.h that make this
* irrelevant, but not all code may be expected to #include XSUB.h. */