Exeu/Amazon-ECS-PHP-Library — Issue #26: AmazonECS.class.php 1.3.1 has a BOM
Author: garvin
Created: 2011-12-28 15:05:43+00:00
State: open

This is more an FYI.

After much weeping and gnashing of teeth, I figured out the AmazonECS.class.php currenlty being distributed has a [byte-order-mark](http://en.wikipedia.org/wiki/Byte-order_mark). This is fine and good... unless you don't realize it.

As soon as AmazonECS.class.php is parsed (via an include for instance), the BOM...

ï»¿

... is output. When you're creating a UTF-8 file, this is probably fine. When you're not, it breaks a lot of things.

I had no need of the BOM for what I was doing, so my solution was to create a AmazonECS.class.php for my use that doesn't have a BOM. Problem solved.