iloveeclipse / anyedittools

"Swiss knife" for Eclipse
https://github.com/iloveeclipse/plugins/wiki
Eclipse Public License 1.0
42 stars 18 forks source link

Base64 encoding does not work correctly #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 sebidiet...@gmail.com on 16 Dec 2010 at 11:33

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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 sebidiet...@gmail.com on 22 Dec 2010 at 11:56