summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-04-17 16:52:54 +0000
committerNicholas Clark <nick@ccl4.org>2006-04-17 16:52:54 +0000
commit5a22a2bbf3880b61603040e7bdfddd4d5f5809a5 (patch)
tree5550ae7e0db9c4343e2276ea67fb1c7ddad99590 /locale.c
parent77c0971848175eeb99efb2cca9509cbb29622d32 (diff)
downloadperl-5a22a2bbf3880b61603040e7bdfddd4d5f5809a5.tar.gz
Turn on UTF8 cache assertions with -Ca
p4raw-id: //depot/perl@27875
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/locale.c b/locale.c
index 9acacb16f9..d90b557447 100644
--- a/locale.c
+++ b/locale.c
@@ -543,6 +543,8 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
{
const char *p = PerlEnv_getenv("PERL_UNICODE");
PL_unicode = p ? parse_unicode_opts(&p) : 0;
+ if (PL_unicode & PERL_UNICODE_UTF8CACHEASSERT_FLAG)
+ PL_utf8cache = -1;
}
#endif