diff options
Diffstat (limited to 'lib/CGI/Util.pm')
-rw-r--r-- | lib/CGI/Util.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CGI/Util.pm b/lib/CGI/Util.pm index 6c5d543c97..a694394518 100644 --- a/lib/CGI/Util.pm +++ b/lib/CGI/Util.pm @@ -6,7 +6,7 @@ require Exporter; @ISA = qw(Exporter); @EXPORT_OK = qw(rearrange make_attributes unescape escape expires); -$VERSION = '1.31'; +$VERSION = '1.3'; $EBCDIC = "\t" ne "\011"; if ($EBCDIC) { @@ -167,7 +167,7 @@ sub utf8_chr ($) { } elsif ($c < 0x80000000) { return sprintf("%c%c%c%c%c%c", - 0xfe | ($c >> 30), + 0xfc | ($c >> 30), 0x80 | (($c >> 24) & 0x3f), 0x80 | (($c >> 18) & 0x3f), 0x80 | (($c >> 12) & 0x3f), |