summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2023-03-28 06:07:33 -0600
committerKarl Williamson <khw@cpan.org>2023-03-28 14:00:09 -0600
commit2d34d1ba7409eadac386945523e8f201b1e12fc4 (patch)
tree66b73c94f874180cf5436c95967843a5222680b8 /utf8.h
parentfdab2411419748072ee1d5dc8050756641b9ed87 (diff)
downloadperl-2d34d1ba7409eadac386945523e8f201b1e12fc4.tar.gz
utf8.h: Add comment
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utf8.h b/utf8.h
index bbf86c59a0..3256cf649a 100644
--- a/utf8.h
+++ b/utf8.h
@@ -938,8 +938,8 @@ case any call to string overloading updates the internal UTF-8 encoding flag.
/* Should all strings be treated as Unicode, and not just UTF-8 encoded ones?
* Is so within 'feature unicode_strings' or 'locale :not_characters', and not
- * within 'use bytes'. UTF-8 locales are not tested for here, but perhaps
- * could be */
+ * within 'use bytes'. UTF-8 locales are not tested for here, because it gets
+ * complicated by the probability of having categories in different locales. */
#define IN_UNI_8_BIT \
(( ( (CopHINTS_get(PL_curcop) & HINT_UNI_8_BIT)) \
|| ( CopHINTS_get(PL_curcop) & HINT_LOCALE_PARTIAL \