[jdom-interest] Parsing files starting with UTF-8 Byte Order Mark

Peter Eriksson Peter.Eriksson at smartsign.se
Mon Jun 30 22:45:33 PDT 2003


Hello Everybody,

I have a problem with parsing some XML files generated from .Net.
It seems that the file starts with the Byte Order Mark for UTF-8 (EF BB
BF). If I try to load the file using jdom-b8 I get an exception. Is
there some way that I can load files with or without this Byte Order
Mark transparently, i.e. without an exception being thrown.

Anybody have a solution to the problem?

/Peter






More information about the jdom-interest mailing list