From: [EMAIL PROTECTED]
Operating system: WinNT 4.0
PHP version: 4.0.4pl1
PHP Bug Type: IMAP related
Bug description: strange linebreaks in decoded base64 string
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 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]