I'm parsing an incoming xml feed, in android to use it in app widget, the problem, is that the french characters are not encoded correctly in that xml like that :
Super Promo � l'incontournable Alhambra Thalasso 5* Hammamet : La nuit du 29/08 � seulement 107.185 DT au lieu de 126.100 DT en LPD
and I'm parsing the file like this :
InputSource isrc = new InputSource(this.feed.openStream());
isrc.setEncoding("UTF-8");
DocumentBuilder builder = factory.newDocumentBuilder();
Document dom = builder.parse(isrc.getByteStream());
Element root = dom.getDocumentElement();
Is there a way to get rid of these strange characters ?
Thanks.