Umlauts in document path #2551
-
I am using MuPDF in my C# project, and it seems that MuPDF can't read the file path if it contains non-English characters like umlauts (äöüõ). Is there a way to bypass this issue? One possible solution I thought of is to temporarily copy the file to a different location, process it with MuPDF, and then copy it back. However, I'm aware that this might not be the best approach. The error message I am receiving is: MuPDFCore.MuPDFException: 'Cannot open document'. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It seems you have posted on the wrong repo - this repo us for PyMuPDF, the Python bindings for MuPDF. |
Beta Was this translation helpful? Give feedback.
-
As far as PyMuPDF is concerned, you are able to use UTF-8 encoded file names. You can also read a file to memory and then open this stream of bytes like any document. |
Beta Was this translation helpful? Give feedback.
As far as PyMuPDF is concerned, you are able to use UTF-8 encoded file names. You can also read a file to memory and then open this stream of bytes like any document.