diff options
author | Ondřej Surý <ondrej@sury.org> | 2015-01-26 11:52:53 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2015-01-26 11:52:53 +0100 |
commit | 832b62efb8fceebb220116d8024d945a9bd31d7e (patch) | |
tree | e3c65d02b50180c7d7d7c21626d403d2eb87793a /ext/iconv | |
parent | 60fede4c90746ef3408ed27a15dd405b3a46a83b (diff) | |
download | php-832b62efb8fceebb220116d8024d945a9bd31d7e.tar.gz |
New upstream version 5.6.5+dfsgupstream/5.6.5+dfsg
Diffstat (limited to 'ext/iconv')
-rw-r--r-- | ext/iconv/tests/iconv_basic_001.phpt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/iconv/tests/iconv_basic_001.phpt b/ext/iconv/tests/iconv_basic_001.phpt index 6fcb5dbe8..079eb670e 100644 --- a/ext/iconv/tests/iconv_basic_001.phpt +++ b/ext/iconv/tests/iconv_basic_001.phpt @@ -5,8 +5,10 @@ Rodrigo Prado de Jesus <royopa [at] gmail [dot] com> --SKIPIF-- <?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?> <?php if(substr(PHP_OS, 0, 3) == 'WIN' ) {die('skip not for windows');} ?> +<?php if(setlocale(LC_ALL, "en_US.utf8",) === false) { die('skip en_US.utf8 locales not available'); } ?> --FILE-- <?php +setlocale(LC_ALL, "en_US.utf8"); $in_charset = 'UTF-8'; $out_charset = 'ASCII//TRANSLIT'; $string_to_translate = 'Žluťoučký kůň\n'; |