We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2648b3c commit 47b3183Copy full SHA for 47b3183
tests/Common/Tests/XMLWriterTest.php
@@ -63,7 +63,7 @@ public function testWriteAttributeShouldWriteFloatValueLocaleIndependent()
63
$xmlWriter->writeAttribute('name', $value);
64
$xmlWriter->endElement();
65
66
- setlocale(LC_NUMERIC, 'de');
+ setlocale(LC_NUMERIC, 'de_DE.UTF-8', 'de');
67
68
$this->assertSame('1,2', (string)$value);
69
$this->assertSame('<element name="1.2"/>' . chr(10), $xmlWriter->getData());
0 commit comments