com php-src: the de_DE(iso-8859-1) locale i s not available on ubuntu by default, but the re is no reason to require that over the utf- 8 one:
ext/intl/tests/bug67052.phpt
| From: | Ferenc Kovacs | Date: | Mon, 24 Aug 2015 12:40:06 +0000 |
| Subject: | com php-src: the de_DE(iso-8859-1) locale i s not available on ubuntu by default, but the re is no reason to require that over the utf- 8 one: ext/intl/tests/bug67052.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89462@lists.php.net to get a copy of this message | ||
Commit: 941bbf2067039fec347e2cfd90a3f8976f330245
Author: Ferenc Kovacs <tyrael@php.net> Mon, 24 Aug 2015 02:21:09 +0200
Parents: 85d34c32642dbe75eaf27d0098e77005b45cbcba
Branches: PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=941bbf2067039fec347e2cfd90a3f8976f330245
Log:
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
Changed paths:
M ext/intl/tests/bug67052.phpt
Diff:
diff --git a/ext/intl/tests/bug67052.phpt b/ext/intl/tests/bug67052.phpt
index 8edd65d..f44ae28 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