[BUG] BOM Creation UTF-8 Error

hi everybody…

we have a small bug in here in the UTF-8 encoding, the error comes after attemting to save the BOM created as the following:

Traceback (innermost last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 57, in application
    response = frappe.handler.handle()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
  File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
    ret = frappe.call(method, **frappe.form_dict)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 805, in call
    return fn(*args, **newargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/desk/form/save.py", line 31, in savedocs
  File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/__init__.py", line 135, in get_traceback
    (unicode((b"").join(trace_list[:-1]), 'utf-8'), unicode(trace_list[-1], 'utf-8'))
 UnicodeDecodeError: 'utf8' codec can't decode byte 0xe0 in position 42: invalid continuation byte
1 Like

any update on this anyone??

@ramielian can you share the BOM? Which language are you using?

@anand ya sure, am using Thai Language, Please see below:

Are you on develop or master branch?

@anand AM in develop mode, am still making some extra modules for our work…

Pushed a fix in develop

@anand Thank you Very Much…