> I am parsing an xml which has french characters with accent, so in the XML it 
> comes as 'R & # 200 L & # 201 SIX' which is actually a french name 'RÈLÉSIX' .
> I am parsing this xml using Xerces J Version 2.7. Find the code for 
> reference....
> 
> DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
> DocumentBuilder documentBuilder = dbf.newDocumentBuilder();
> Document xmlResponse = documentBuilder.parse(connection.getInputStream());
> 
> where ... <connection.getInputStream()> contains my xml with french character.
> 
> Now when I run it on Windows 2000 machine it parses the XML properly that 
> means I get the 'RÈLÉSIX' displayed properly on my screen,
> But when I run it on UNIX machine it is not able to parse this properly it is 
> giving me some Junk value (RA?LA?SIX) Displayed. 
> 
> Any idea why this is happening ? I am stucked here please some one help me 
> out. 
> 
> 
> Krunal Dhamelia
> Tata Consultancy Services Limited
> Email:[EMAIL PROTECTED]
> 

Reply via email to