My servlet is giving me a CSV file with chars like 'é', 'á' or 'õ'. When I open the servlet via browser, it works fine. But when the information get to my page, it's all �.
I tried changing the coding in the actual database, but it didn't work.
console.log(csv)
, where csv is the information from the servlet, and it's also full of '�'s.
I'm not even sure where the problem is, because the actual page has several latin characters which are presented properly.
I'm using Microsoft SQL '08, tried both nvarchar and varchar fields.