Revert "add encoding for open"
diff --git a/ppocr/data/imaug/label_ops.py b/ppocr/data/imaug/label_ops.py
index 48f12b96a0..148b093687 100644
--- a/ppocr/data/imaug/label_ops.py
+++ b/ppocr/data/imaug/label_ops.py
@@ -118,7 +118,7 @@ def __init__(self,
             self.lower = True
         else:
             self.character_str = []
-            with open(character_dict_path, "rb", encoding="utf-8") as fin:
+            with open(character_dict_path, "rb") as fin:
                 lines = fin.readlines()
                 for line in lines:
                     line = line.decode('utf-8').strip("\n").strip("\r\n")
@@ -278,7 +278,7 @@ def __init__(self,
                 char = line.strip()
                 self.dict[char] = idx
                 idx += 1
-        with open(class_path, "r", encoding="utf-8") as fin:
+        with open(class_path, "r") as fin:
             lines = fin.readlines()
             for idx, line in enumerate(lines):
                 line = line.strip("\n")
@@ -640,7 +640,7 @@ def __init__(self,
         self.replace_empty_cell_token = replace_empty_cell_token
 
         dict_character = []
-        with open(character_dict_path, "rb", encoding="utf-8") as fin:
+        with open(character_dict_path, "rb") as fin:
             lines = fin.readlines()
             for line in lines:
                 line = line.decode('utf-8').strip("\n").strip("\r\n")
@@ -1380,7 +1380,7 @@ def __init__(self,
         super(SRLabelEncode, self).__init__(max_text_length,
                                             character_dict_path, use_space_char)
         self.dic = {}
-        with open(character_dict_path, 'r', encoding="utf-8") as fin:
+        with open(character_dict_path, 'r') as fin:
             for line in fin.readlines():
                 line = line.strip()
                 character, sequence = line.split()
diff --git a/ppocr/data/pubtab_dataset.py b/ppocr/data/pubtab_dataset.py
index c84a7af902..642d3eb196 100644
--- a/ppocr/data/pubtab_dataset.py
+++ b/ppocr/data/pubtab_dataset.py
@@ -59,7 +59,7 @@ def get_image_info_list(self, file_list, ratio_list):
             file_list = [file_list]
         data_lines = []
         for idx, file in enumerate(file_list):
-            with open(file, "rb", encoding="utf-8") as f:
+            with open(file, "rb") as f:
                 lines = f.readlines()
                 if self.mode == "train" or ratio_list[idx] < 1.0:
                     random.seed(self.seed)
@@ -112,7 +112,7 @@ def __getitem__(self, idx):
                 'file_name': file_name
             }
 
-            with open(data['img_path'], 'rb', encoding="utf-8") as f:
+            with open(data['img_path'], 'rb') as f:
                 img = f.read()
                 data['image'] = img
             outs = transform(data, self.ops)
diff --git a/ppocr/data/simple_dataset.py b/ppocr/data/simple_dataset.py
index d17f931fac..044eafe10e 100644
--- a/ppocr/data/simple_dataset.py
+++ b/ppocr/data/simple_dataset.py
@@ -74,7 +74,7 @@ def get_image_info_list(self, file_list, ratio_list):
             file_list = [file_list]
         data_lines = []
         for idx, file in enumerate(file_list):
-            with open(file, "rb", encoding="utf-8") as f:
+            with open(file, "rb") as f:
                 lines = f.readlines()
                 if self.mode == "train" or ratio_list[idx] < 1.0:
                     random.seed(self.seed)
@@ -120,7 +120,7 @@ def get_ext_data(self):
             data = {'img_path': img_path, 'label': label}
             if not os.path.exists(img_path):
                 continue
-            with open(data['img_path'], 'rb', encoding="utf-8") as f:
+            with open(data['img_path'], 'rb') as f:
                 img = f.read()
                 data['image'] = img
             data = transform(data, load_data_ops)
@@ -146,7 +146,7 @@ def __getitem__(self, idx):
             data = {'img_path': img_path, 'label': label}
             if not os.path.exists(img_path):
                 raise Exception("{} does not exist!".format(img_path))
-            with open(data['img_path'], 'rb', encoding="utf-8") as f:
+            with open(data['img_path'], 'rb') as f:
                 img = f.read()
                 data['image'] = img
             data['ext_data'] = self.get_ext_data()
@@ -240,7 +240,7 @@ def __getitem__(self, properties):
             data = {'img_path': img_path, 'label': label}
             if not os.path.exists(img_path):
                 raise Exception("{} does not exist!".format(img_path))
-            with open(data['img_path'], 'rb', encoding="utf-8") as f:
+            with open(data['img_path'], 'rb') as f:
                 img = f.read()
                 data['image'] = img
             data['ext_data'] = self.get_ext_data()
diff --git a/ppocr/postprocess/rec_postprocess.py b/ppocr/postprocess/rec_postprocess.py
index 3af3536e35..f64ea1ce7a 100644
--- a/ppocr/postprocess/rec_postprocess.py
+++ b/ppocr/postprocess/rec_postprocess.py
@@ -31,7 +31,7 @@ def __init__(self, character_dict_path=None, use_space_char=False):
             self.character_str = "0123456789abcdefghijklmnopqrstuvwxyz"
             dict_character = list(self.character_str)
         else:
-            with open(character_dict_path, "rb", encoding="utf-8") as fin:
+            with open(character_dict_path, "rb") as fin:
                 lines = fin.readlines()
                 for line in lines:
                     line = line.decode('utf-8').strip("\n").strip("\r\n")
diff --git a/ppocr/postprocess/table_postprocess.py b/ppocr/postprocess/table_postprocess.py
index 05e89bb92c..a47061f935 100644
--- a/ppocr/postprocess/table_postprocess.py
+++ b/ppocr/postprocess/table_postprocess.py
@@ -26,7 +26,7 @@ def __init__(self,
                  merge_no_span_structure=False,
                  **kwargs):
         dict_character = []
-        with open(character_dict_path, "rb", encoding="utf-8") as fin:
+        with open(character_dict_path, "rb") as fin:
             lines = fin.readlines()
             for line in lines:
                 line = line.decode('utf-8').strip("\n").strip("\r\n")

Reverts PaddlePaddle/PaddleOCR#10769