replaced all utf8-encode with mb_convert_encoding