web/lib/Zend/Mime/Decode.php
changeset 807 877f952ae2bd
parent 207 621fa6caec0c
child 1230 68c69c656a2c
equal deleted inserted replaced
805:5e7a0fedabdf 807:877f952ae2bd
    12  * obtain it through the world-wide-web, please send an email
    12  * obtain it through the world-wide-web, please send an email
    13  * to license@zend.com so we can send you a copy immediately.
    13  * to license@zend.com so we can send you a copy immediately.
    14  *
    14  *
    15  * @category   Zend
    15  * @category   Zend
    16  * @package    Zend_Mime
    16  * @package    Zend_Mime
    17  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    17  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    18  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    18  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    19  * @version    $Id: Decode.php 20096 2010-01-06 02:05:09Z bkarwin $
    19  * @version    $Id: Decode.php 24593 2012-01-05 20:35:02Z matthew $
    20  */
    20  */
    21 
    21 
    22 /**
    22 /**
    23  * @see Zend_Mime
    23  * @see Zend_Mime
    24  */
    24  */
    25 require_once 'Zend/Mime.php';
    25 require_once 'Zend/Mime.php';
    26 
    26 
    27 /**
    27 /**
    28  * @category   Zend
    28  * @category   Zend
    29  * @package    Zend_Mime
    29  * @package    Zend_Mime
    30  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    30  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    31  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    31  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    32  */
    32  */
    33 class Zend_Mime_Decode
    33 class Zend_Mime_Decode
    34 {
    34 {
    35     /**
    35     /**
   237      * @param  string encoded string
   237      * @param  string encoded string
   238      * @return string decoded string
   238      * @return string decoded string
   239      */
   239      */
   240     public static function decodeQuotedPrintable($string)
   240     public static function decodeQuotedPrintable($string)
   241     {
   241     {
   242         return iconv_mime_decode($string, ICONV_MIME_DECODE_CONTINUE_ON_ERROR);
   242         return quoted_printable_decode($string);
   243     }
   243     }
   244 }
   244 }