fixed size detection

Without the explicit charset, PHP detects UTF BOM when there are none (like in the middle of files).