Skip to content
Advertisement

Php mailer working with utf-8 locally but not on host

I know that has similar posts but nothing help with my problem, Trying to create a contact form with PHPMailer but when i try to send with greek characters i getting symbols, I noticed that the problem occurs only on Host , when im and i get correct Greek characters. i tried to set utf-8 but nothing, i tried with encode,decode command also always getting symbols like

JavaScript

above is the two files of settings.

JavaScript

And the settings that get the email is above:

JavaScript

Advertisement

Answer

I set charset on .htaccess and worked !!

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement