lowercase tags using mb_convert_case(), which understands many more alphabets than I do.

This commit is contained in:
Brenda Wallace 2009-07-26 16:34:27 +12:00
parent 932eab074d
commit d3a72431be

View File

@ -595,7 +595,8 @@ function common_tag_link($tag)
function common_canonical_tag($tag)
{
return strtolower(str_replace(array('-', '_', '.'), '', $tag));
$tag = mb_convert_case($tag, MB_CASE_LOWER, "UTF-8");
return str_replace(array('-', '_', '.'), '', $tag);
}
function common_valid_profile_tag($str)