Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to encode a file into android base64. Android's sdk has a utility method that does this. I should be able to avoid doing any Android programming to solve this. There are utilities for windows that can do this as well.

For my Mac, I've tried using the base64 shell command from fourmilab.ch

It is not giving me usable results, and it inserts spaces and newlines. Also the output files seem to have far too few characters.

Also, the library method in the Android sdk and the windows utility have an optional offset for the base64 which it would be nice to be able to use.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.