ru_php/ext/iconv/tests/ob_iconv_handler.phpt

17 lines
287 B
PHP

--TEST--
ob_iconv_handler()
--EXTENSIONS--
iconv
--INI--
error_reporting=2039
--FILE--
<?php
iconv_set_encoding('internal_encoding', 'EUC-JP');
iconv_set_encoding('output_encoding', 'Shift_JIS');
ob_start('ob_iconv_handler');
print "、「、、、ヲ、ィ、ェ";
ob_end_flush();
?>
--EXPECT--
あいうえお