]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
do not use iconv in tag_is_valid, data should be utf8 anyway at this point; remove...
[tt-rss.git] / include / functions.php
index 6bc52e9d95db0cf1969daca91118580b8f7f8b53..f447d06f53a037759699dff53afe7eae7be70cd9 100644 (file)
                if (preg_match("/^[0-9]*$/", $tag)) return false;
                if (mb_strlen($tag) > 250) return false;
 
-               if (function_exists('iconv')) {
-                       $tag = iconv("utf-8", "utf-8", $tag);
-               }
-
                if (!$tag) return false;
 
                return true;