Page 1 of 1

Email appearing funny characters

Posted: Fri Dec 26, 2008 8:28 am
by baby_teeth
Hi,

I am coding a sending email function. I am able to trigger the html email.
However, the email's content appear to have funny characters inside.
I have echo the content of the email, check the data, trim the value of the content email and change the html email to be in text format email but still it appear funny characters. This funny characters appears to be "!" and space and only appear in certain record.

Anyone encounter the same issue?
Kindly advise.

Thanks.

Re: Email appearing funny characters

Posted: Fri Dec 26, 2008 12:36 pm
by icesolid
Are you sure your encodings match up. Is the content in your e-mail body being submitted in UTF-8 but your e-mail is being encoded in ISO-8859-1?

PHP default is ISO-8859-1, if the page your e-mail is being submitted from is UTF-8, you will see funny characters in the e-mail.

Re: Email appearing funny characters

Posted: Fri Dec 26, 2008 11:26 pm
by baby_teeth
Hi,

Thanks for the reply. I didnt set any encodings in it.
How should I overcome this issue?

Re: Email appearing funny characters

Posted: Mon Dec 29, 2008 9:38 am
by icesolid
Post the funny character e-mail content in this thread so we can see, maybe even your code would help.

Sounds like an encoding problem to me.