Fixes mb_convert_encoding usage when it may not be available
Merge branch 'issue/fix-emogrifier'