|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-09-02 16:41 UTC] sniper@php.net
[2001-09-03 06:39 UTC] simon at hornweb dot ch
[2002-05-28 13:02 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 17:00:01 2025 UTC |
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.