This project is properly displaying characteres using ISO-8859-1
(main page) on server and a Javascript UTF-8
, however this function on server displays the string ("Observações") properly configured using UTF-8, however when I try to execute it locally it displays Observações
as Observações
.
My main page is set to ISO-8859-1
:
<META content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
and it calls the script like this:
<SCRIPT type="text/javascript" charset="UTF-8" src="js/functions.js"></SCRIPT>
what I don't understand is why it works on server but not on my computer and how to fix it.
Thank you very much.