forcing file encoding for platform not using utf8 as default
don't fail if not the right charset