Changeset 2430
- Timestamp:
- 09/02/08 09:24:49 (3 months ago)
- Files:
-
- 1 modified
-
trunk/htdocs/system/classes/utils.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htdocs/system/classes/utils.php
r2411 r2430 587 587 // Convert all characters to lowercase. 588 588 // Trim spaces on both sides. 589 $slug= rtrim( strtolower( preg_replace( '/[^a-z0-9%_\-]+/i', $separator, $string ) ), $separator );589 $slug= rtrim( MultiByte::strtolower( preg_replace( '/[^\p{L}\p{N}%_\-]+/u', $separator, $string ) ), $separator ); 590 590 591 591 // Let people change the behavior.
