projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d06fc7d
)
$hex is already hex, so cannot be used in %X if starting with [A-F]
author
H.Merijn Brand
<h.m.brand@xs4all.nl>
Mon, 30 Oct 2006 14:14:25 +0000
(14:14 +0000)
committer
H.Merijn Brand
<h.m.brand@xs4all.nl>
Mon, 30 Oct 2006 14:14:25 +0000
(14:14 +0000)
p4raw-id: //depot/perl@29156
lib/charnames.pm
patch
|
blob
|
history
diff --git
a/lib/charnames.pm
b/lib/charnames.pm
index
00faa69
..
ef1472c
100644
(file)
--- a/
lib/charnames.pm
+++ b/
lib/charnames.pm
@@
-270,7
+270,7
@@
sub viacode
# checking the length first is slightly faster
if (length($hex) > 5 && hex($hex) > 0x10FFFF) {
- carp
sprintf "Unicode characters only allocated up to U+10FFFF (you asked for U+%X)", $hex
;
+ carp
"Unicode characters only allocated up to U+10FFFF (you asked for U+$hex)"
;
return;
}