diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-06 00:38:11 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-06 00:38:11 +0000 |
commit | 9b2db8e94a2dd349aad72259cdcdd425bf501466 (patch) | |
tree | 934304601baef757c0a4ea0a72bb548ffefb410a /utf8.c | |
parent | 7517970fb027d70a681529abbff1c6444576c7e9 (diff) | |
download | perl-9b2db8e94a2dd349aad72259cdcdd425bf501466.tar.gz |
Patch from Peter Prymmer to disable utf8 in EBCDIC platforms.
p4raw-id: //depot/perl@7152
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -910,7 +910,11 @@ Perl_swash_init(pTHX_ char* pkg, char* name, SV *listsv, I32 minbits, I32 none) PUTBACK; ENTER; SAVEI32(PL_hints); +#ifdef EBCDIC + PL_hints = HINT_BYTE; +#else PL_hints = 0; +#endif save_re_context(); if (PL_curcop == &PL_compiling) /* XXX ought to be handled by lex_start */ strncpy(tmpbuf, PL_tokenbuf, sizeof tmpbuf); |