1--TEST-- 2Translit UTF-8 quotes 3--SKIPIF-- 4<?php 5include('skipif.inc'); 6( ICONV_IMPL != "libiconv" ) and die("skip ICONV_IMPL != \"libiconv\""); 7?> 8--INI-- 9magic_quotes_runtime=0 10error_reporting=2047 11--FILE-- 12<?php // vim600: syn=php 13/* include('test.inc'); */ 14//error_reporting(E_ALL); 15$utf = implode('', file(dirname(__FILE__).'/Quotes.UTF-8')); 16 17print(iconv("UTF-8", "ISO-8859-1//TRANSLIT", $utf)); 18print(iconv("UTF-8", "ASCII//TRANSLIT", $utf)); 19?> 20--EXPECT-- 21"Hello" 22`Hello� 23"Hello" 24`Hello� 25"Hello" 26'Hello' 27"Hello" 28'Hello' 29