File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Ansi encoding XML files?
Joined: Apr 19, 2002
Nov 15, 2002 15:14:00
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,
parsers will throw a UTF8 reading error..
Joined: Jul 10, 2001
Nov 17, 2002 00:55:00
I believe by default xml files are UTF-8.
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml version="1.0" encoding="windows-1252"?>
I agree. Here's the link:
subject: Ansi encoding XML files?
Unable to Write the file in UTF-8
soap and utf-8 encoding issue
writing UCS-2 encoded files with Java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015