ID: 13097
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: IMAP related
Operating System: WinNT 4.0
PHP Version: 4.0.4pl1
New Comment:

Do you happen to read that file with fopen() / fread() ?
Can you attach a complete but short example script?

--Jani


Previous Comments:
------------------------------------------------------------------------

[2001-09-02 15:46:48] [EMAIL PROTECTED]

imap_base64 seems to produce strang linebreaks in a decoded string.
For example, I've a JPEG file to decode. The original file starts with the line

���� JFIF  H H  ��jPhotoshop 3.0 8BIM�      H     H    8BIM
        x8BIM�             8BIM
       8BIM'     
        8BIM�     H /ff  lff       /ff  ���       2    Z         5    -   
     8BIM�     p  �����������������������    �����������������������    
�����������������������    �����������������������  8BIM          @  @    
8BIM        8BIM    �      W   p    s�  �  ���� JFIF  H H  �� &File 
written by Adobe Photoshop� 5.0�� Adobe d�   �� �                    



��  p W" ��  
��?                 
              
 3 
!1AQa"q�2���B#$R�b34r��C%�S���cs5���&D�TdE£t6�U�e���u��F'���������������Vfv��������7GWgw��������
 5 
!1AQaq"2����B#�R��3$b�r��CScs4�%���&5��D�T�dEU6te����u��F���������������Vfv��������'7GWgw�������
   ? �G��c�㡘�Ңۋ���k���� 

(sorry for this long stuff)
but the imap_base64 decoded string starts with 

���� JFIF  H H  ��jPhotoshop 3.0 8BIM�      H     H    8BIM
        x8BIM�             8BIM
       8BIM'     

These linebreaks don't seem to have any ASCII number or something, they're just 
linebreaks.

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=13097&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to