I am writing an application in the Golang. I need to decrypt the email subject.
The original question:
Report z eksportu ogłoszeń nieruchomości
Encoded Object:
=?utf-8?B?RG9tLmV1IC0gcmFwb3J0IHogZWtzcG9ydHUgb2fFgm9zemXF?= =?utf-8?B?hCBuaWVydWNob21vxZtjaQ==?=^M
Decoded object: "Raport z eksportu ogłosze▒ ▒ nieruchomości"
I am using github.com/famz/RFC2047 to decode email objects.
My code is simple:
RFC2047.Decode(msg.Header.Get("Subject"))
Why is the item broken after decoding? Other items are correctly decoded. Is this a poorly encoded subject?
source
share