由于不可编码字符,导致报错,添加软解码,处理原始文本。
add a func called readPdf in toolbox, which can read pdf paper to str. then use bs4.BeautifulSoup to clean content.