Bug #10813: recode utf-8..l2 doesn't work
| From: | peha at volny dot cz | Date: | Fri, 11 May 2001 12:13:54 +0000 |
| Subject: | Bug #10813: recode utf-8..l2 doesn't work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54866@lists.php.net to get a copy of this message | ||
From: peha@volny.cz
Operating system: RH 6.2
PHP version: 4.0.4pl1
PHP Bug Type: Recode related
Bug description: recode utf-8..l2 doesn't work
actually no UTF-8_to_something conversion works,
although the command line version of recode works fine(!)
i use recode 3.6
a sample script:
<?
$str1 = "áéí";
$str2 = recode( "l2..utf-8", $str1 );
$str3 = recode( "utf-8..l2", $str2 );
echo( "str1=$str1<br>" );
echo( "str2=$str2<br>" );
echo( "str3=$str3<br>" );
?>
output:
str1=áéí
str2=Ã¥ÃÃ
str3=
thanx a lot
--
Edit Bug report at: http://bugs.php.net/?id=10813&edit=1