glibc iconv translit'ed like below:

----------
"Hello"
'Hello'
,,Hello"
,Hello'
"Hello"
'Hello'
,,Hello"
,Hello'
----------
How can we do with this result?

IMO transliteration is very implementation specific feature, and further 
tests may make no sense as long as doing the same ones with the different 
libraries.

Adding constants like ICONV_IMPL and ICONV_VERSION that imply the variety 
of libraries looks enough cool?


"Melvyn Sopacua" <[EMAIL PROTECTED]> wrote:

> 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'


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to