Menu ▾ ▴

#1 Error on charset of TextEntity Constructor

open
nobody
None
5
2009-10-16
2009-10-16
No

When the constructor TextEntity (const std:: string & text, const std:: string & charset); is called, the charset parameter is not used, since this attribute does not appear when printing MimeEntity.

I think the error occurs because the instance of ContentType that receives charset parameter is not the instance of ContetType of the Header of the MimeEntity

Workaroud: After construction, I added (push_back) the parameter "charset" again, as the Attachment object does, then my MimeEntity printed the charset attribute properly.

Discussion


Log in to post a comment.