]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Prepared support of UTF8 coded keywords.
authoreldy <>
Sun, 20 Oct 2002 16:28:12 +0000 (16:28 +0000)
committereldy <>
Sun, 20 Oct 2002 16:28:12 +0000 (16:28 +0000)
wwwroot/cgi-bin/awstats.pl

index 4bbf2d130a045f6bb3129f3af2039025ab796d54..d37a7f6d80dc62f70a80350c5fb7c0a6c3a5dbf4 100644 (file)
@@ -3648,9 +3648,9 @@ sub Utf8_To_Ascii
 sub EncodeString
 {
        my $string = shift;
-       use bytes;
+#      use bytes;
        $string =~ s/([\x2B\x80-\xFF])/sprintf ("%%%2x", ord($1))/eg;
-       no bytes;
+#      no bytes;
        $string =~ tr/ /+/s;
        return $string;
 }