[XOM-interest] Setting the character encoding
Elliotte Harold
elharo at metalab.unc.edu
Sat Mar 29 09:52:35 EDT 2008
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/
More information about the XOM-interest
mailing list