From: schaacke at hmmdeutschland dot de Operating system: Linux PHP version: 5.2.11 PHP Bug Type: Unknown/Other Function Bug description: txt&txt -> no utf8_encode()
Description:
------------
//PHP 5.2.6 (cli) (built: Dec 4 2008 16:52:00)
//Copyright (c) 1997-2008 The PHP Group
//Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
$in="Märchenmühle" Häusl. Alten- & Krankenpfle. Jutta Kern
$out=utf8_encode($in);
echo $out;
-> Märchenmühle" Häusl. Alten- & Krankenpfle. Jutta Kern
do not encodes the string in to UTF-8
$in=str_replace('&',"",$in);
encodes the string in to UTF-8
Reproduce code:
---------------
---
>From manual page: function.utf8-decode#Siehe auch
---
Expected result:
----------------
encodes the string in to UTF-8
Actual result:
--------------
do not encodes the string in to UTF-8
--
Edit bug report at http://bugs.php.net/?id=50385&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=50385&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=50385&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=50385&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=50385&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=50385&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=50385&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=50385&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=50385&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=50385&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=50385&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=50385&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=50385&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=50385&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=50385&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50385&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50385&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=50385&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=50385&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=50385&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=50385&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=50385&r=mysqlcfg
