7 Jan
2004
7 Jan
'04
3:54 p.m.
Bob Jamison wrote:
As far as encoding, I don't think libxml2 would reject your file if it is merely the difference between ascii and utf-8. The only times I have had trouble with a parser rejecting a file, is when the specified encoding is not available.
It'd be best to check.
Versions 1.x of J Clark's expat all would die if a file included a UTF-8 BOM at the begining. Given all the polish and test cases it had, it probably used to be a very rare thing. Also, I've seen lots of people run into problems with WinNT notepad's transparent handling of encodings.
By now, though, the parsers have probably all been fixed.