cvs: php4 /ext/iconv/tests translit-failure.phpt

From: Date: Thu, 10 Oct 2002 19:06:01 +0000
Subject: cvs: php4 /ext/iconv/tests translit-failure.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14797@lists.php.net to get a copy of this message
msopacua Thu Oct 10 15:06:01 2002 EDT Added files: /php4/ext/iconv/tests translit-failure.phpt Log: Another small test for iconv transliteration, from GNU libiconv testkit Index: php4/ext/iconv/tests/translit-failure.phpt +++ php4/ext/iconv/tests/translit-failure.phpt --TEST-- Translit failture --SKIPIF-- <?php include('skipif.inc'); ?> --FILE-- <?php // Should be ok. // Content from file is from libiconv testkit. Tested both // with a string as an implode, no difference. // if at some point internal encoding changes, set correct one // in INI section or use file 'TranslitFail1.ISO-8859-1'. $test = 'Écrit par %s.'; if (!iconv("ISO-8859-1", "ASCII//TRANSLIT", $test)) echo 'wrong is right'; ?> --EXPECT-- wrong is right

« previous php.cvs (#14797) next »