Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use mb_detect_encoding() instead of finfo()
The Fileinfo functions are not installed by default on Windows, so use a different method to determine whether the stream is valid or binary.
- Loading branch information