Method MIMEContent():setCharset() Professional
Specifies the charset of a single part.
:setCharset( [<cCharset>} ) --> cOldCharset
The method returns the previous charset setting.
This method can be used to specify the charset of the content of a message part. The charset has implications when setting or accessing the content using the methods MimeMessage:setMessage() and :getMessage(). Both methods perform automatic conversions from and to the character set used by the application under specific conditions.
To disable these automatic conversions, pass an empty string ("") in the <cCharset> parameter. This must be done prior to assigning or accessing the content.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.