utf-8 conversion with mb_convert_encoding instead of bugged iconv
minor changes
exception report message in utf8
utf8 conversion for arrays