Try to handle UTF-8 locales.
[p5sagit/p5-mst-13.2.git] / lib / charnames.t
index 607f4f3..c800128 100644 (file)
@@ -8,6 +8,7 @@ BEGIN {
 }
 
 $| = 1;
+
 print "1..25\n";
 
 use charnames ':full';
@@ -159,7 +160,7 @@ sub to_bytes {
 
 }
 
-print "not " unless "\N{HORIZONTAL TABULATION}" eq "\t";
+print "not " unless "\N{CHARACTER TABULATION}" eq "\t";
 print "ok 23\n";
 
 print "not " unless "\N{ESCAPE}" eq "\e";
@@ -168,8 +169,6 @@ print "ok 24\n";
 print "not " unless "\N{NULL}" eq "\c@";
 print "ok 25\n";
 
-# TODO: when Unicode 3.2 comes along some names will change
-# HORIZONTAL TABULATION -> CHARACTER TABULATION (since ISO 6429
-# has been updated), and some names will have shorter aliases
-# LINEFEED (LF).  Update the tests, and also update the charnames
-# pragma to support the 3.1 names, and the shorter aliases.
+# TODO: support 3.1 names, BOM.  Generic aliasing?
+
+