Bug #10813 Updated: recode utf-8..l2 doesn't work
| From: | jimw@php.net | Date: | Tue, 09 Apr 2002 21:59:17 +0000 |
| Subject: | Bug #10813 Updated: recode utf-8..l2 doesn't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-4484@lists.php.net to get a copy of this message | ||
ID: 10813
Updated by: jimw@php.net
Reported By: peha@volny.cz
-Status: Open
+Status: Feedback
Bug Type: Recode related
Operating System: RH 6.2
PHP Version: 4.0.4pl1
New Comment:
hmm, works just fine for me with recode 3.6 and php 4.1.2 and
4.3.0-dev. you'll need to reproduce this bug with a more recent version
of php. (it may have been fixed along the line, although i don't see
any obvious commit related to this.)
Previous Comments:
------------------------------------------------------------------------
[2001-05-11 08:13:54] peha@volny.cz
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 this bug report at http://bugs.php.net/?id=10813&edit=1