dever 6 years ago
parent
commit
eb988c4f92
1 changed files with 3 additions and 1 deletions
  1. 3 1
      library/Cube/View/Helper/Url.php

+ 3 - 1
library/Cube/View/Helper/Url.php

@@ -147,7 +147,9 @@ class Url extends AbstractHelper
 
         $string = str_replace(array_keys(self::$_charMap), self::$_charMap, $string);
 
-        $clean = @iconv('UTF-8', 'ASCII//TRANSLIT', $string);
+        //modify by yubin
+        //$clean = @iconv('UTF-8', 'ASCII//TRANSLIT', $string);
+        $clean = $string;
         $clean = preg_replace("/[^a-zA-Z0-9\/\_|+ -]/", '', $clean);
         $clean = strtolower(trim($clean));
         $clean = preg_replace("/[\/|+ -]+/", $delimiter, $clean);