Skip to content

Commit

Permalink
Merge pull request #78 from Koc/patch-1
Browse files Browse the repository at this point in the history
Use multibyte-safe case convertion
  • Loading branch information
Florian Eckerstorfer committed Oct 2, 2015
2 parents 05f00fa + 77c20f1 commit d3afa29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Slugify.php
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ public function slugify($string, $separator = '-')
{
$string = strtr($string, $this->rules);
if ($this->options['lowercase']) {
$string = strtolower($string);
$string = mb_strtolower($string);
}
$string = preg_replace($this->regExp, $separator, $string);

Expand Down

0 comments on commit d3afa29

Please sign in to comment.