xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: Shawn Simister <narphorium AT gmail.com>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Setting the character encoding
- Date: Sat, 29 Mar 2008 06:52:35 -0700
Shawn Simister wrote:
Is there a way to set the character encoding that XOM uses to read from an InputSource? I'm trying to get it to read and write to disk as UTF-8 but it seems to use the default charset from Java. Of course, I'm able to get everything working by changing Java's default charset to UTF-8 but I'd prefer to find a way to set it explicitly in my code.
Do you have sample code? This sounds very strange. I suspect it's something before XOM where the problem actually lies.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
- Re: [XOM-interest] Setting the character encoding, Elliotte Harold, 03/29/2008
Archive powered by MHonArc 2.6.24.