ANNOUNCE: Apache XML encoding detector update

Matthew Sergeant (EML) Matthew.Sergeant at
Mon Apr 26 16:19:57 BST 1999

I've fixed a couple of bugs and added support for EBCDIC and little endian
utf-16, and added a couple of configuration parameters to my encoding
detector for xml files. Thanks to John Cowan for his C detector I realised I
had missed EBCDIC and the other stuff. It's still missing UCS-4 support -
how much is that actually used?

Anyway, it's on CPAN in all the usual places in my directory

I don't think it's mirrored to the rest of the world yet, since I only just
uploaded it.

Also, a note to John Cowan: In reading through your detector I noticed that
it only checks for g=["']...["'], not the full encoding=["']...["'] -
Personally I don't think that's safe, but having read your C code (and
knowing C's poor handling of strings) I can understand why you did it... <g>

Perl on Win32, PerlScript, ASP, Database, XML
GCS(GAT) d+ s:+ a-- C++ UL++>UL+++$ P++++$ E- W+++ N++ w--@$ O- M-- !V 
!PS !PE Y+ PGP- t+ 5 R tv+ X++ b+ DI++ D G-- e++ h--->z+++ R+++

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list