Added tests that some basic encodings are recognized and the corresponding BOM marks do not cause core dumps.  The UTF-8 BOM bug was fixed a while ago, but a regression test is always a good idea.
Added tests that some basic encodings are recognized and the corresponding
BOM marks do not cause core dumps.  The UTF-8 BOM bug was fixed a while ago,
but a regression test is always a good idea.

libexpat/libexpat,libexpat/libexpat,libexpat/libexpat,tiran/expat,tiran/expat,libexpat/libexpat,tiran/expat,libexpat/libexpat,libexpat/libexpat,tiran/expat