We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am not sure if this is really a bug or I am just using the decoder wrong.
Here is what I am doing:
dec := new(quotedprintable.WordDecoder) b, err := dec.DecodeHeader(string(s))
There is no error returned, but the value returned be DecodeHeader is identical to the input. The input was:
http://www.ndr.de/fernsehen/sendungen/extra_3/Ein-Lied-fuer-Jean-Claude-Junc= ker,extra8486.html -- Sent from my mobile.=
Any pointer would be highly appreciated.
In case it is important the complete code I am running is here: https://github.com/koffeinsource/kaffeeshare/blob/master/targets/email/extractBody.go#L109
The text was updated successfully, but these errors were encountered:
DecodeHeader is meant to be used on email header like Subject. To decode an email body, use Reader:
DecodeHeader
Subject
r := quotedprintable.NewReader(strings.NewReader(s)) b, err := ioutil.ReadAll(r)
Sorry, something went wrong.
No branches or pull requests
I am not sure if this is really a bug or I am just using the decoder wrong.
Here is what I am doing:
There is no error returned, but the value returned be DecodeHeader is identical to the input. The input was:
Any pointer would be highly appreciated.
In case it is important the complete code I am running is here: https://github.com/koffeinsource/kaffeeshare/blob/master/targets/email/extractBody.go#L109
The text was updated successfully, but these errors were encountered: