1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-24 01:09:50 +01:00

Add French realText provider

Also, fixed an utf8 bug in realText provider
This commit is contained in:
Francois Zaninotto 2014-03-03 22:04:41 +01:00
parent ea67b69b01
commit ad87ed4ea3
2 changed files with 15540 additions and 1 deletions

View File

@ -99,7 +99,7 @@ abstract class Text extends \Faker\Provider\Base
protected function getExplodedText()
{
if ($this->explodedText === null) {
$this->explodedText = explode(' ', preg_replace('/\s+/', ' ', static::$baseText));
$this->explodedText = explode(' ', preg_replace('/\s+/u', ' ', static::$baseText));
}
return $this->explodedText;

File diff suppressed because it is too large Load Diff