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"q2B#$Rb34rC%Scs5&DTdE£t6UeuF'Vfv7GWgw
5
!1AQaq"2B#R3$brCScs4%&5DTdEU6teuFVfv'7GWgw
  ? Gc㡘Ңۋ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]

Reply via email to