Re: Perl MIME::Base64 Question
Matt King <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.pdxlug |
|---|---|
| Message-ID | <[email protected]> |
Matt King wrote:
> I'm so close to getting this done, but I'm stuck on the last piece.
And I figured it out. I think posting on here makes solutions
auto-magically pop-up. :-)
I used the Encode perl module and for the output of the decoded text I did:
print decode('utf16',MIME::Base64::decode($string));
I knew that the type was utf16 because i dumped the output of just the
decoded base64 to a file and ran 'file output.txt' on it and got the
encoding.
-Matt