Re: SSAX, utf8 and the byte order mark

[email protected] Wed, 10 Jan 2007 15:25:15 -0800 (PST)
Newsgroups gmane.lisp.scheme.ssax-sxml
Message-ID <[email protected]>
Hello!

> Is there a workaround for the problem described below [UTF-8 byte order mark]
> &/or is a it a bug?

Please see the following messages:

http://sourceforge.net/mailarchive/forum.php?thread_id=30544193&forum_id=599
http://sourceforge.net/mailarchive/forum.php?thread_id=30544375&forum_id=599
http://sourceforge.net/mailarchive/forum.php?thread_id=30570410&forum_id=599

The last two describe various work-arounds. I believe the BOM-marks
issues belong on the level of `streams' rather than on the level of
XML parsing. Once we open a port (a stream) in the UTF-8 mode, the
open function should have already checked for spurious BOM marks. Or,
the stream read function can silently disregard the marks as they
should not be there in the first place.

	Cheers,
	Oleg

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV