1
I have a form on a page that contains the following tag
at the head
<meta charset="utf-8" />
The form
is pointed to the page processa.php
and at the top of that page I also put the tag
<meta charset="utf-8" />
It turns out the emails I’m getting from this page processa.php
are all with wrong accentuation, I’ve made several changes and everything is the same. which can be?
https://answall.com/questions/43193/d%C3%Bavida-com-charset-iso-8859-1-e-utf8/43205#43205
– MagicHat
Not @13dev. If it uses BOM it will get much worse, because they are bytes that do not appear in any text editor. Only a large blank line will appear at the beginning of the HTML code if viewed through a browser. The ideal is to save
UTF-8 Without BOM
(UTF-8 encoding without byte markers). Notepad++ has this option, just download, install, open the files and go toFormat
and mark this option.– user86792
every reason @Tonymontana wanted to write
without
but thanks for the information, the sublime also offers this option– 13dev
What you’re using to send these emails on the.php processing page?
– user60252
i had a similar problem and solved it like this: on the header page("Content-Type: text/html; charset=UTF-8", true); And on the sending part $mail->Charset = 'iso-8859-1';
– user60252