]> granicus.if.org Git - php/commitdiff
the de_DE(iso-8859-1) locale is not available on ubuntu by default, but there is...
authorFerenc Kovacs <tyrael@php.net>
Mon, 24 Aug 2015 00:21:09 +0000 (02:21 +0200)
committerFerenc Kovacs <tyrael@php.net>
Mon, 24 Aug 2015 12:40:06 +0000 (14:40 +0200)
ext/intl/tests/bug67052.phpt

index 8edd65de71df6c49e76983af77b033e43eba50a5..f44ae282fcc0ec19d51aafb32fba893818d87f13 100644 (file)
@@ -12,7 +12,7 @@ if (substr(PHP_OS, 0, 3) == 'WIN') {
 
 function ut_main()
 {
-        setlocale(LC_ALL, 'de_DE');
+        setlocale(LC_ALL, 'de_DE.UTF-8');
         $fmt = new NumberFormatter( 'sl_SI.UTF-8', NumberFormatter::DECIMAL);
         $num = "1.234.567,891";
         $res_str =  $fmt->parse($num)."\n";
@@ -26,5 +26,5 @@ ut_run();
 ?>
 --EXPECT--
 1234567,891
-de_DE
+de_DE.UTF-8