Browse Source

Added explicit encoding

tags/2.0.16
Dmitry Naumenko 6 years ago committed by GitHub
parent
commit
5a87dd2bfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      framework/helpers/BaseInflector.php

2
framework/helpers/BaseInflector.php

@ -375,7 +375,7 @@ class BaseInflector
'.', '.',
], ' ', preg_replace('/(\p{Lu})/u', ' \0', $name)))); ], ' ', preg_replace('/(\p{Lu})/u', ' \0', $name))));
return $ucwords ? mb_convert_case($label, MB_CASE_TITLE) : $label; return $ucwords ? mb_convert_case($label, MB_CASE_TITLE, 'UTF-8') : $label;
} }
/** /**

Loading…
Cancel
Save