From f350948bde70ba62a730848cd79d638a6e1217f2 Mon Sep 17 00:00:00 2001 From: Jyong <76649700+JohnJyong@users.noreply.github.com> Date: Fri, 16 Jun 2023 14:23:03 +0800 Subject: [PATCH] Fix the issue of decoding a non-UTF-8 encoded file using UTF-8 (#389) --- api/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/requirements.txt b/api/requirements.txt index 4e04ce5921..95a1d1aa9d 100644 --- a/api/requirements.txt +++ b/api/requirements.txt @@ -30,4 +30,5 @@ jieba==0.42.1 celery==5.2.7 redis~=4.5.4 pypdf==3.8.1 -openpyxl==3.1.2 \ No newline at end of file +openpyxl==3.1.2 +chardet~=5.1.0 \ No newline at end of file