An external app is generating files with names like =UTF-8BTW9uaXRvciBDb21wYW55IEdCLUFLUk9TLTVVR0hMUC0wLUkyLnhscw===.
I need to rename them to something more useful in a W32 environment (they are mostly PDFs but some are, eg, Excel spreadsheets). I suspect that the current name is, in some sense, a UTF-8 encoded version of the "real" filename (and, hopefully, extension) but the utf8 man page says "files and strings which contain only 7-bit ASCII characters have the same encoding under both ASCII and UTF-8" and "no ASCII byte can appear as part of another character" so it doesn't appear to be raw UTF8.
I've tried feeding the string to several decoders such as
Encode.pm and Encode::MIME::Header.pm without success.
Does anyone recognise the encoding of the sample string above and can anyone help me translate it?
Thanks,
fish.
I need to rename them to something more useful in a W32 environment (they are mostly PDFs but some are, eg, Excel spreadsheets). I suspect that the current name is, in some sense, a UTF-8 encoded version of the "real" filename (and, hopefully, extension) but the utf8 man page says "files and strings which contain only 7-bit ASCII characters have the same encoding under both ASCII and UTF-8" and "no ASCII byte can appear as part of another character" so it doesn't appear to be raw UTF8.
I've tried feeding the string to several decoders such as
Encode.pm and Encode::MIME::Header.pm without success.
Does anyone recognise the encoding of the sample string above and can anyone help me translate it?
Thanks,
fish.