I changed the code not to do anything about converting encode if `mb_detect_encoding` returns false.