I'm using these techniques to convert =?utf-8?B?...?=
to a readable string:
How convert email subject from “?UTF-8?…?=” to readable string?
It works for simple input, but I have some input that have nested =?utf-8?B?...?=
, for example:
"=?utf-8?B?2KfbjNmGINuM2qkg2YXYqtmGINiz2KfYr9mHINin2LPYqg==?= =?utf-8?B?2KfbjNmGINuM2qkg2YXYqtmGINiz2KfYr9mHINin2LPYqg==?= =?utf-8?B?2YbYr9is?="
I know the part between =?UTF-8?B?
and ?=
is a base64 encoded string, But in this case I don't have any idea how to extract them.