summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-08-12 23:24:18 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-08-12 23:24:18 +0000
commit39e02b423749ca43aca0385eea6257ecde9aee92 (patch)
tree1a15ab05dce6398db23bfa3bfabcf204efce905c /op.c
parent68de02dd13dd306ab38a3120f53d4d0e47862ec5 (diff)
downloadperl-39e02b423749ca43aca0385eea6257ecde9aee92.tar.gz
If you want you can now add -DUSE_UTF8_SCRIPTS to your cflags
and the Perl will be built to do that by default (adding that will break scripts having non-UTF-8 binary data, such as Latin-1.) p4raw-id: //depot/perl@11656
Diffstat (limited to 'op.c')
-rw-r--r--op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.c b/op.c
index f52ea291d3..677fe7a231 100644
--- a/op.c
+++ b/op.c
@@ -115,7 +115,7 @@ Perl_pad_allocmy(pTHX_ char *name)
if (!(PL_in_my == KEY_our ||
isALPHA(name[1]) ||
- (PL_hints & HINT_UTF8 && UTF8_IS_START(name[1])) ||
+ (USE_UTF8_IN_NAMES && UTF8_IS_START(name[1])) ||
(name[1] == '_' && (int)strlen(name) > 2)))
{
if (!isPRINT(name[1]) || strchr("\t\n\r\f", name[1])) {