[XOM-interest] Setting the character encoding

Shawn Simister narphorium at gmail.com
Fri Feb 22 11:03:11 EST 2008


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.

Thanks,
Shawn


More information about the XOM-interest mailing list