]> git.wh0rd.org Git - tt-rss.git/commitdiff
possible fix for invalid byte sequence error when processing tags
authorAndrew Dolgov <fox@bah.spb.su>
Tue, 20 Feb 2007 06:46:16 +0000 (07:46 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Tue, 20 Feb 2007 06:46:16 +0000 (07:46 +0100)
functions.php

index df2ec5880db0b6f22dc5bef5ebc41add64055298..ece96d147af119af1269f15673353ea397566200 100644 (file)
                                                $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);