Moved mbstring encoding to be used before iconv. Tests passing on PHP 5.4.