Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Having a really bad time, and I fear it's all line endings

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Andrew Thompson <lordpixel AT mac.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Having a really bad time, and I fear it's all line endings
  • Date: Sun, 06 Mar 2005 15:10:01 -0500

BOMs in UTF-8 are very flaky. They're really not legal, but were retconned into Unicode to support Microsoft software that didn't follow the standard. I suspect your underlying parser doesn't like UTF-8 files with BOMs. For maximum comptiability you should not put a BOM in UTF-8 files, only UTF-16 files.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page