diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-07-26 00:59:41 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-07-26 00:59:41 -0400 |
commit | 3077876b1706222385182cb2647f9f5a99d6dffd (patch) | |
tree | 5dfd405934c3ce6e1cbe61b5d5f5c10b52aa6168 | |
parent | ef571f731c9a2706f16b969dabf78cae80e0e46d (diff) | |
parent | d3a72431bef054217a71a97d3a13fd9b293fb86d (diff) |
Merge commit 'br3nda/0.8.x-lowercaseutf8' into 0.8.x
-rw-r--r-- | lib/util.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index c7c82dba2..d784bb793 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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) |