#22277 [NEW]: utf8_encode and EURO sign

From: Date: Tue, 18 Feb 2003 17:20:34 +0000
Subject: #22277 [NEW]: utf8_encode and EURO sign
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-33430@lists.php.net to get a copy of this message
From: mail2rk at gmx dot de Operating system: any PHP version: 4.3.0 PHP Bug Type: Strings related Bug description: utf8_encode and EURO sign Try following: <? $xml = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>"; $xml .= "<root>my € sign</root>"; echo utf8_encode($xml); ?> in the output the EURO sign won't show up. While if you save the php file as utf8 and drop the utf8_encode method, the xml string will be shown properly. -- Edit bug report at http://bugs.php.net/?id=22277&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22277&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22277&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22277&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22277&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22277&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22277&r=support Expected behavior: http://bugs.php.net/fix.php?id=22277&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22277&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22277&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22277&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22277&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22277&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22277&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22277&r=gnused

« previous php.bugs (#33430) next »