possible fix for invalid byte sequence error when processing tags

This commit is contained in:
Andrew Dolgov 2007-02-20 07:46:16 +01:00
parent 1f43d4194d
commit 235a11b026

View file

@ -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);