Merge commit 'br3nda/0.8.x-lowercaseutf8' into 0.8.x

This commit is contained in:
Craig Andrews 2009-07-26 00:59:41 -04:00
commit 3077876b17

View File

@ -595,7 +595,8 @@ function common_tag_link($tag)
function common_canonical_tag($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) function common_valid_profile_tag($str)