Update Encode.php

DOM => BOM issue