anyedittools icon indicating copy to clipboard operation
anyedittools copied to clipboard

Base64 encoding does not work correctly

Open GoogleCodeExporter opened this issue 9 years ago • 2 comments

Base64 encoding produces encodings per line - i.e. the result has line feeds at 
the same place as the base. Other Base64 encoders do that otherwise (e.g. 
Notepad++ MimeTools) - they result in a single line. Converting such a single 
line from Base64 and back to Base64 results in a different content.

Original issue reported on code.google.com by [email protected] on 16 Dec 2010 at 11:33

GoogleCodeExporter avatar Apr 19 '15 21:04 GoogleCodeExporter

I guess this is a matter of taste :-)
I will see if I can provide an option to encode as one line.
Thanks for reporting this.
Regards,
Andrei

Original comment by iloveeclipse on 17 Dec 2010 at 5:33

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

GoogleCodeExporter avatar Apr 19 '15 21:04 GoogleCodeExporter

Not entirely. If I get a Base64 encoded file (all in one line), decode it 
(giving me text with several lines) and encode it again, I get a different 
output than the original.

Original comment by [email protected] on 22 Dec 2010 at 11:56

GoogleCodeExporter avatar Apr 19 '15 21:04 GoogleCodeExporter