jugend/amazon-ecs — Issue #20: AmazonECS.class.php 1.3.1 has a BOM
Author: garvin
Created: 2011-10-18 19:36:53+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.