Subject: Re: Base64 inserts newline [was "Base64 inserts carriage return"]

From: Goulven Guillard <[email-masked]>
Date: Wed, 5 Apr 2017 13:35:29 +0200

Le 05/04/2017 à 12:39, Goulven Guillard a écrit :
> It seems `base64` inserts a carriage return ("Cg==") when encoding a
> string :
>
> $ echo foobar|base64
> Zm9vYmFyCg==

I just figured it was not a carriage return ("\r") but a simple newline 
("\n").  I was misleaded because for some reason my PHP form translates 
"\n" into "\r\n" during the POST submission.

Anyway, it doesn't change much the issue.

Regards,

Goulven Guillard.