Filepath containing Chinese for PDFDoc(filepath) will throw an error

Hi PDFTron PDFNet Team,

I am using PDFNet SDK of python, and the function 'PDFDoc(filepath)' would throw an error "this application has requested the runtime to terminate it in an unusual way" if the filepath contains Chinese Unicode chars.

How can I fix this problem?

Hello Ricky,

Thank you for contacting us. Can you please provide us the following information so that we can investigate?

  1. The version of SDK that you are using. You can get the version info by calling PDFNet.GetVersion();

  2. The platform that you are working on i.e. Windows or Linux.

  3. Was this issue always present or did something changes such as updating the SDK version / OS update etc.?

  4. A problematic file that we can reproduce the issue with.

Thanks,

Yasser

PDFTron Systems Inc.

Sorry for the late reply.

It turns out to be my fault in dealing with other programs having no relationship with Pdftron.

Thanks for your help.

Hello Ricky,

Thank you for contacting us. Can you please provide us the following information so that we can investigate?

  1. The version of SDK that you are using. You can get the version info by calling PDFNet.GetVersion();

  2. The platform that you are working on i.e. Windows or Linux.

  3. Was this issue always present or did something changes such as updating the SDK version / OS update etc.?

  4. A problematic file that we can reproduce the issue with.

Thanks,

Yasser

PDFTron Systems Inc.