UTF-8 not work

3 replies · opened Aug 16, 2016

MmidlejssAug 16, 2016

I just bought your amazing theme!!!
Sorry for the English .. I'm from Brazil. I have a problem with UTF-8 in the contact form. Already realized the exchange in 'sendmail.php' for:

$ Mail-> MsgHTML ($ body);
$ Mail-> CharSet = "utf-8";

This corrected the title. The content is not (message and service error) !!!

Example how to get:

Message: configuraçà test the £.
Translation: Configuration Test.

Page Link: http://www.5sdesign.com.br/projetos/sealsconsultoria/contato.html

Thank you!

MmidlejssAug 17, 2016

Note

Message: configuraçÃ
correct text: configuração (no)
Translation: Configuration Test

SSvoeobraznayaAug 28, 2016

I have a same problem.

SSvoeobraznayaAug 28, 2016

I found the answer.

Hello,

We are Doing Good! Thanks for Asking! How are you? ?

You will have to set the Encoding Type for the Email in the include/sendemail.php File. Please find the following code:

$mail->MsgHTML( $body );
1
$mail->MsgHTML( $body );
and replace it with the following code:

$mail->MsgHTML( $body );
$mail->CharSet="UTF-8";
1
2
$mail->MsgHTML( $body );
$mail->CharSet="UTF-8";
This will definitely work fine. Let us know if we can help you with anything else or if you find any issues.

Thanks & Regards,
SemiColonWeb Team.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard