Removed encoding detection on mac