Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] Setting the character encoding

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Shawn Simister <narphorium AT gmail.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] Setting the character encoding
  • Date: Fri, 22 Feb 2008 11:03:11 -0500

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



  • [XOM-interest] Setting the character encoding, Shawn Simister, 02/22/2008

Archive powered by MHonArc 2.6.24.

Top of Page