Skip to content

Commit 12b6dc4

Browse files
jakzalfabpot
authored andcommitted
[Intl] Update the ICU data to 63.1
1 parent e954741 commit 12b6dc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ public function transform($value)
120120
throw new TransformationFailedException($formatter->getErrorMessage());
121121
}
122122

123-
// Convert fixed spaces to normal ones
124-
$value = str_replace("\xc2\xa0", ' ', $value);
123+
// Convert non-breaking and narrow non-breaking spaces to normal ones
124+
$value = str_replace(array("\xc2\xa0", "\xe2\x80\xaf"), ' ', $value);
125125

126126
return $value;
127127
}

0 commit comments

Comments
 (0)