docling icon indicating copy to clipboard operation
docling copied to clipboard

When the file name has Chinese, an error occurred when converting pdf

Open x1y9 opened this issue 2 weeks ago • 5 comments

Bug

When the file name has Chinese, an error occurred when converting pdf. If I changed the name to English, everything is ok.

Steps to reproduce

docling 中文.pdf -vv ERROR:docling.datamodel.document:An unexpected error occurred while opening the document 中文.pdf Traceback (most recent call last):

Docling version

Docling version: 2.21.0 Docling Core version: 2.18.0 Docling IBM Models version: 3.3.1 Docling Parse version: 3.3.0 Python: cpython-311 (3.11.8) Platform: Windows-10-10.0.22631-SP0

Python version

Python 3.11.8

x1y9 avatar Feb 11 '25 03:02 x1y9