Garbled code appears in online preview of vue using pdf.js

the project requires pdf attachment view, because it is compatible with the mobile phone, so I used pdf.js, but some dpf files, using the iframe method to open the view is no problem, but using the pdf.js method PDFJS.getDocument (url). Then () method to open the attachment will appear garbled, where is the setting of pdf coding format, or is there any other reason?

Apr.26,2021

pdf.js
pdf.js examples


this should take a good look at the official documents
search for keywords such as GBK UTF-8


attach a link: https://blog.csdn.net/qq_4020.
has written

before.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35ba4-2b734.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35ba4-2b734.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?