summaryrefslogtreecommitdiff
path: root/lib/charnames.pm
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-04-11 19:19:36 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-11 19:19:36 +0000
commit24b5d5ccc3bc7535f387e48d7e29656751ae98a5 (patch)
tree01ced12fd47c62329dfcce975ae617645985dce8 /lib/charnames.pm
parent026a9d8a2e74ab543e0da0fdfcc025431d79ff07 (diff)
downloadperl-24b5d5ccc3bc7535f387e48d7e29656751ae98a5.tar.gz
ZWNJ, ZWJ. Any further convenience aliasing should
consider using the NamesList. p4raw-id: //depot/perl@15867
Diffstat (limited to 'lib/charnames.pm')
-rw-r--r--lib/charnames.pm12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/charnames.pm b/lib/charnames.pm
index 6cf46a58f0..3f69662e3a 100644
--- a/lib/charnames.pm
+++ b/lib/charnames.pm
@@ -18,6 +18,11 @@ my %alias1 = (
'FF' => 'FORM FEED (FF)',
'CR' => 'CARRIAGE RETURN (LF)',
'NEL' => 'NEXT LINE (NEL)',
+ # More convenience. For futher convencience,
+ # it is suggested some way using using the NamesList
+ # aliases is implemented.
+ 'ZWNJ' => 'ZERO WIDTH NON-JOINER',
+ 'ZWJ' => 'ZERO WIDTH JOINER',
'BOM' => 'BYTE ORDER MARK',
);
@@ -379,7 +384,12 @@ One can also use
BYTE ORDER MARK
BOM
-though that is of course not a legal character as such.
+and
+
+ ZWNJ
+ ZWJ
+
+for ZERO WIDTH NON-JOINER and ZERO WIDTH JOINER.
For backward compatibility one can use the old names for
certain C0 and C1 controls