Hi there.

There were some BOM-related bugs in unicode decoders.

patch attached