add bom only if has utf8