I am not sure if this is the platform for this question but I'll try to answer it as well as possible.
> I have 2 xml files. > one of them encode as #x2014A manages to decode it as a dash when I print it > out after using getText() to get my data. > however the second file with #x00E9 > is not able to decode this character... What tool do you use to view these characters? Not every tool or font can display all Unicode characters so you'll have to select the correct font/tool to be able to display your unicode characters. > May I know how can I decode my character & display them appropriately? > I do not need to have any explicit declarations to display unicodes right? If you do not have a xml declaration at the start of your XML file, the encoding will default to UTF-8 or UTF-16. > does that mean it's the xml file problem... or the unicode is not defined? No, I think it might be the font or the tool you're using. > how do i know if the unicode char is compatible with UTF-8 or UTF-16? Any unicode character can be described by UTF-8 or UTF-16. Hope this helped? Regards, Edwin ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user