What do you mean, "complain?" Does it die? Are you using 5.6.1 or 5.8.0. In 5.6.1, MIME::Base64 C code does not know how to handle wide characters, so if your strings are tagged as UTF-8, that's the problem.
Better yet, post the warning your code produces.