php-src/ext/iconv/tests/iconv001.phpt
Steph Fox 4be7f4aecd - killed off UEXPECT
- com_dotnet gets a .cvsignore
- Ulf will take care of mysql extensions, rest complete
2008-05-27 18:16:04 +00:00

20 lines
427 B
PHP

--TEST--
iconv() test 1
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
unicode.script_encoding=ISO-8859-1
unicode.output_encoding=ISO-8859-1
error_reporting=2039
--FILE--
<?php
echo "iconv extension is available\n";
$test = "æøå";
var_dump("ISO-8859-1: $test");
var_dump("UTF-8: ".iconv( "ISO-8859-1", "UTF-8", $test ) );
?>
--EXPECT--
iconv extension is available
unicode(15) "ISO-8859-1: æøå"
unicode(13) "UTF-8: æøå"