fix string conversion does not work properly

add mb_convert_encoding() 3rd option