From 235a11b02655e1a9cf566bcc7056fa47aebf1695 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 20 Feb 2007 07:46:16 +0100 Subject: possible fix for invalid byte sequence error when processing tags --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index df2ec5880..ece96d147 100644 --- a/functions.php +++ b/functions.php @@ -775,7 +775,7 @@ $entry_int_id = db_fetch_result($result, 0, "int_id"); foreach ($entry_tags as $tag) { - $tag = db_escape_string(strtolower($tag)); + $tag = db_escape_string(mb_strtolower($tag)); $tag = str_replace("+", " ", $tag); $tag = str_replace("technorati tag: ", "", $tag); -- cgit v1.2.3