#32497 [NEW]: Quotes from iso-8859-1 get converted incorrectly

From: Date: Wed, 30 Mar 2005 06:58:30 +0000
Subject: #32497 [NEW]: Quotes from iso-8859-1 get converted incorrectly
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-76021@lists.php.net to get a copy of this message
From: mschering at intermesh dot nl Operating system: Linux 2.6 PHP version: 4.3.10 PHP Bug Type: ICONV related Bug description: Quotes from iso-8859-1 get converted incorrectly Description: ------------ When I convert an iso-8859-1 text that contains quotes (The mail message I tested was composed with Microsoft Outlook Express 6.00.2600.0000) They get converted to an character that displays as a cubic character so it doesn't exists. Don't know if it's relevant but before using quoted_printable_decode() one of the characters that is diplayed wrong is written as =92 Reproduce code: --------------- Compose a mail message with outlook express in iso-8859-1 encoding and put some ' and " in it. Convert that with iconv and you'll see unexpected results. Expected result: ---------------- I expect the text to be the same as when I view it in iso-8859-1 encoding. Actual result: -------------- Strange characters in the converted text. -- Edit bug report at http://bugs.php.net/?id=32497&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32497&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32497&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32497&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32497&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32497&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32497&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32497&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32497&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32497&r=support Expected behavior: http://bugs.php.net/fix.php?id=32497&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32497&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32497&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32497&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32497&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32497&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32497&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32497&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32497&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32497&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32497&r=mysqlcfg

« previous php.bugs (#76021) next »