cvs: php4 /ext/iconv/tests Quotes.UTF-8 translit-utf8.inc translit-utf8.phpt

From: Date: Wed, 09 Oct 2002 23:16:39 +0000
Subject: cvs: php4 /ext/iconv/tests Quotes.UTF-8 translit-utf8.inc translit-utf8.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14770@lists.php.net to get a copy of this message
msopacua Wed Oct 9 19:16:39 2002 EDT Added files: /php4/ext/iconv/tests translit-utf8.inc translit-utf8.phpt Quotes.UTF-8 Log: Test for standard transliteration. Original check-translit from GNU libiconv-1.8 Index: php4/ext/iconv/tests/translit-utf8.inc +++ php4/ext/iconv/tests/translit-utf8.inc <?php // vim600: syn=php error_reporting(E_ALL); $utf = implode('', file('ext/iconv/tests/Quotes.UTF-8')); print(iconv("UTF-8", "ISO-8859-1//TRANSLIT", $utf)); print(iconv("UTF-8", "ASCII//TRANSLIT", $utf)); ?> Index: php4/ext/iconv/tests/translit-utf8.phpt +++ php4/ext/iconv/tests/translit-utf8.phpt --TEST-- Translit UTF-8 quotes --SKIPIF-- <?php include('skipif.inc'); ?> --FILE-- <?php include('003.inc'); ?> --EXPECT-- "Hello" `Hello´ "Hello" `Hello´ "Hello" 'Hello' "Hello" 'Hello' Index: php4/ext/iconv/tests/Quotes.UTF-8 +++ php4/ext/iconv/tests/Quotes.UTF-8 “Hello” ‘Hello’ „Hello” ‚Hello’

« previous php.cvs (#14770) next »