problem with output_folder which contains Chinese
Describe the bug I use the output_folder and it contains Chinese, but the images can't save in the right folder and the file names of them contain scrambled characters.
I have no idea with how to transform the output_folder with Chinese into rigth form.
Thanks for help!
Hi,
I will need the following informations before troubleshooting the issue:
- pdf2image version
- OS
- pdf file used (if you can)
- name of the output directory that you used
Hi, thanks for your reply, the information is as follows:
-
pdf2image version is 1.7.1
-
OS is win10 64bit
-
pdf file used: 中.pdf
-
output_folder ='D:/test/中', output_file='a', thread_count=2
The images finally saved in directory 'D:/test', and the file name is like '涓璡a_0-1.jpg'.
Thank you, I'll investigate the issue right away.
This bug does not affect Linux, unable to reproduce on Ubuntu 18.04 (will try on Windows 10)