From: Andrew Dolgov Date: Tue, 20 Feb 2007 06:46:16 +0000 (+0100) Subject: possible fix for invalid byte sequence error when processing tags X-Git-Tag: 1.2.8-p1~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=235a11b02655e1a9cf566bcc7056fa47aebf1695;p=tt-rss.git possible fix for invalid byte sequence error when processing tags --- diff --git a/functions.php b/functions.php index df2ec588..ece96d14 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);