I have a webpage that has some text on spanish and some words have accents and spanish characters, on the webpage i have a datatable retrieving information, the thing is, when i use the tag:
<meta charset="iso-8859-1">
https://i.stack.imgur.com/ulybR.png
it displays correctly the text on the Footer, with accents, but the information from the datatable gets a lot of trash chars.
but then again, if i use the tag:
<meta charset="utf8"> or
<meta charset="latin1_spanish_ci">
https://i.stack.imgur.com/abhwR.png
i get the datatable information correctly, but the text on the footer now gets the trash chars.
Already tried with different encodings and combinatios of them and still not working.
Tables and database are on latin1_spanish_ci collate