diff --git a/pyproject.toml b/pyproject.toml index a9fb2cc..52a13b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,7 @@ dependencies = [ "python-pptx>=1.0.2", "pypdf>=6.4.2", "regex>=2025.11.3", + "charset-normalizer>=3.4.4", ] dynamic = ["version"] diff --git a/uv.lock b/uv.lock index 5701b8e..ff2874d 100644 --- a/uv.lock +++ b/uv.lock @@ -370,6 +370,7 @@ name = "docutranslate" source = { editable = "." } dependencies = [ { name = "beautifulsoup4" }, + { name = "charset-normalizer" }, { name = "fastapi", extra = ["standard"] }, { name = "httpx" }, { name = "json-repair" }, @@ -405,6 +406,7 @@ dev = [ [package.metadata] requires-dist = [ { name = "beautifulsoup4", specifier = ">=4.13.4" }, + { name = "charset-normalizer", specifier = ">=3.4.4" }, { name = "docling", marker = "extra == 'docling'", specifier = ">=2.40.0" }, { name = "fastapi", extras = ["standard"], specifier = ">=0.115.12" }, { name = "hf-xet", marker = "extra == 'docling'", specifier = ">=1.1.10" },