I am trying to parse a xml file that contains the following string. Cr�ditos Ajustes & Otros Cargos. but the parser doesn't recognize this characters. I am using the correct encoding 'iso-8859-1'. It gives me this error
It is not the issue. Actually when I am trying to parse. Cr�ditos, Ajustes y Otros Cargos. I can successfully parse and write it out to a file on windows machine. But on unix, when I parse and print it out to a file, it gets converted to a Cr?ditos, Ajustes y Otros Cargos. It is generating a question mark on Unix for special characters. Do you guys know the reason why it is happening.