From: Ferenc Kovacs Date: Mon, 24 Aug 2015 00:21:09 +0000 (+0200) Subject: the de_DE(iso-8859-1) locale is not available on ubuntu by default, but there is... X-Git-Tag: php-5.5.31~9^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=941bbf2067039fec347e2cfd90a3f8976f330245;p=php the de_DE(iso-8859-1) locale is not available on ubuntu by default, but there is no reason to require that over the utf-8 one --- diff --git a/ext/intl/tests/bug67052.phpt b/ext/intl/tests/bug67052.phpt index 8edd65de71..f44ae282fc 100644 --- a/ext/intl/tests/bug67052.phpt +++ b/ext/intl/tests/bug67052.phpt @@ -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