Cannot Attach Arabic Filename

HI all

When I try to attach a file with Arabic Filename, it seems uploading… but no files are attached.
I can see the following error on browser console. I am using Frappe Framework: v8.0.65 (master).

Plz help me someone…

Traceback (most recent call last):
File “/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py”, line 108, in uploadfile
ret = frappe.utils.file_manager.upload()
File “/home/erpnext/frappe-bench/apps/frappe/frappe/utils/file_manager.py”, line 36, in upload
filedata = save_uploaded(dt, dn, folder, is_private)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/utils/file_manager.py”, line 60, in save_uploaded
return save_file(fname, content, dt, dn, folder, is_private=is_private);
File “/home/erpnext/frappe-bench/apps/frappe/frappe/utils/file_manager.py”, line 182, in save_file
f.insert()
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 192, in insert
self.run_before_save_methods()
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 772, in run_before_save_methods
self.run_method(“validate”)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 666, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 892, in composer
return composed(self, method, *args, **kwargs)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 875, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 660, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/core/doctype/file/file.py”, line 72, in validate
self.validate_file()
File “/home/erpnext/frappe-bench/apps/frappe/frappe/core/doctype/file/file.py”, line 135, in validate_file
if not os.path.exists(get_files_path(frappe.as_unicode(self.file_name.lstrip("/")))):
File “/home/erpnext/frappe-bench/env/lib/python2.7/genericpath.py”, line 18, in exists
os.stat(path)
UnicodeEncodeError: ‘ascii’ codec can’t encode characters in position 27-29: ordinal not in range(128)

Please open an issue on github for this. There is already a similar report on the forum so confirm that the issue has not already been reported on github.