I am sending the echo to mail function via PHP from variable that includes HTML code. The strange thing is, that this
<����}im�
shows up AFTER the string.. but I do not manipulate with it anymore. The charset of mail function (the attachment) is same as charset of HTML code.
Encoding problem, maybe it tries to display binary code?
You should use htmlentities if ou want to display HTML