Skip to content

Commit 316f72c

Browse files
committed
Merge branch 'PHP-5.5' into PHP-5.6
2 parents bba4a8a + 80260bc commit 316f72c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/iconv/tests/iconv_basic_001.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
55
--SKIPIF--
66
<?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?>
77
<?php if(substr(PHP_OS, 0, 3) == 'WIN' ) {die('skip not for windows');} ?>
8+
<?php if(setlocale(LC_ALL, "en_US.utf8",) === false) { die('skip en_US.utf8 locales not available'); } ?>
89
--FILE--
910
<?php
11+
setlocale(LC_ALL, "en_US.utf8");
1012
$in_charset = 'UTF-8';
1113
$out_charset = 'ASCII//TRANSLIT';
1214
$string_to_translate = 'Žluťoučký kůň\n';

0 commit comments

Comments
 (0)