Fix compat mode handling with empty mime string
I can't repro this, but PR #250 suggests that some versions of libmagic will return a mimetype that doesn't include a charset, leading to an exception. Fall back to an empty charset in this case.
A
Adam Hupp committed
73bcc7482bf3e6d1f6a74a91bf9689b289a88910
Parent: 5fa9055