This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
Is it possible to use ANSI encoding XML files? What should be the header be? By default, if the xml file is in ANSI encoding and there's no <?xml?> header, java parsers will throw a UTF8 reading error..
posted 13 years ago
I believe by default xml files are UTF-8. Try: <?xml version="1.0" encoding="ISO-8859-1"?> or this? <?xml version="1.0" encoding="windows-1252"?>