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

Reply via email to