How to export base64 to file?

base64

Solution

You don't have to convert it to unicode.

On a Linux box you can simply save the base64 decoded attachment to disk and do:

cat foo | base64 -d > bar.jpg

For windows you can download this tool:

http://www.f2ko.de/downloads/base64.zip

Problem

I am currently trying to decode an image attachment from my e-mail (jpg) from base64 into unicode and then export it into a file (so I can get the image back from the raw data). I now have the data decoded from base64 into Unicode, but how do I convert Unicode back to an image? Hope you can help!

Original source