a-alnaggar commited on
Commit
bbd3710
1 Parent(s): 369c0cf

Update khatt-paragraphs.py

Browse files
Files changed (1) hide show
  1. khatt-paragraphs.py +1 -1
khatt-paragraphs.py CHANGED
@@ -63,7 +63,7 @@ class KhattPara(datasets.GeneratorBasedBuilder):
63
 
64
  @staticmethod
65
  def read_arabic_text_file(file_path):
66
- with open(file_path, 'r', encoding='iso-8859-1') as file:
67
  lines = file.readlines()
68
  return '\n'.join(lines)
69
 
 
63
 
64
  @staticmethod
65
  def read_arabic_text_file(file_path):
66
+ with open(file_path, 'r', encoding='windows-1256') as file:
67
  lines = file.readlines()
68
  return '\n'.join(lines)
69