Perl and Python's base64 functions both follow the "put a new line after the 76th character" convention. It's unintuitive that php doesn't. Oh well.
-- base64_encode produces invalidly encoded string https://launchpad.net/bugs/54140 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs